After some debugging with Arthur on IRC, I've pushed a bandaid:

https://github.com/qtile/qtile/commit/39ea653fdd08af395627d9335bbcede79de5cab0

This should fix the bug, but not the root cause of the problem.

Tycho

On Mon, May 11, 2015 at 04:48:46AM -0700, Arthur LEDARD wrote:
> Hi,
> 
> Same problem here.
> Thunderbird, zathura, WindowError
> 
> I’m using archlinux. Error happens with python3 and Python2.
> 
> Arthur
> 
> Le dimanche 10 mai 2015 19:57:27 UTC+2, Niklas Sermmler a écrit :
> >
> > Hello Tycho, 
> >
> > attached you find the xtrace log. I disabled all plugins, so this is 
> > pure Thunderbird. Let me know if this helps. 
> >
> > When I open attachments they will open somtimes in fullscreen and 
> > sometimes in a small window. From that moment onward the windows start 
> > to be messerd up, with Thunderbird appearing in groups it was not 
> > assigned to. 
> >
> > Best regards, 
> > Niklas 
> >
> >
> > (process:3042): GLib-CRITICAL **: g_slice_set_config: assertion 
> > 'sys_page_size == 0' failed 
> > TypeError: filterDef is undefined 
> > -- Exception object -- 
> > * 
> > -- Stack Trace -- 
> > MFM_createSearchTerms@resource://gre/modules/quickFilterManager.js:515:1 
> > MFS_createSearchTerms@resource://gre/modules/quickFilterManager.js:163:1 
> > QFBM_updateSearch@chrome://messenger/content/quickFilterBar.js:586:1 
> > QFBM_onTabRestored@chrome://messenger/content/quickFilterBar.js:430:5 
> > mailTabType.modes.folder.restoreTab@chrome://messenger/content/mailTabs.js:233:1
> >  
> >
> > restoreTab@chrome://messenger/content/tabmail.xml:988:11 
> > restoreTabs@chrome://messenger/content/tabmail.xml:1012:17 
> > atStartupRestoreTabs@chrome://messenger/content/msgMail3PaneWindow.js:724:5 
> >
> > loadStartFolder@chrome://messenger/content/msgMail3PaneWindow.js:819:45 
> > TypeError: filterDef is undefined 
> > -- Exception object -- 
> > * 
> > -- Stack Trace -- 
> > MFM_createSearchTerms@resource://gre/modules/quickFilterManager.js:515:1 
> > MFS_createSearchTerms@resource://gre/modules/quickFilterManager.js:163:1 
> > QFBM_updateSearch@chrome://messenger/content/quickFilterBar.js:586:1 
> > QFBM__deferredInvocUpdateSearch@chrome://messenger/content/quickFilterBar.js:569:5
> >  
> >
> > TypeError: filterDef is undefined 
> > -- Exception object -- 
> > * 
> > -- Stack Trace -- 
> > MFM_createSearchTerms@resource://gre/modules/quickFilterManager.js:515:1 
> > MFS_createSearchTerms@resource://gre/modules/quickFilterManager.js:163:1 
> > QFBM_updateSearch@chrome://messenger/content/quickFilterBar.js:586:1 
> > QFBM__deferredInvocUpdateSearch@chrome://messenger/content/quickFilterBar.js:569:5
> >  
> >
> > TypeError: filterDef is undefined 
> > -- Exception object -- 
> > * 
> > -- Stack Trace -- 
> > MFM_createSearchTerms@resource://gre/modules/quickFilterManager.js:515:1 
> > MFS_createSearchTerms@resource://gre/modules/quickFilterManager.js:163:1 
> > QFBM_updateSearch@chrome://messenger/content/quickFilterBar.js:586:1 
> > QFBM__deferredInvocUpdateSearch@chrome://messenger/content/quickFilterBar.js:569:5
> >  
> >
> > TypeError: filterDef is undefined 
> > -- Exception object -- 
> > * 
> > -- Stack Trace -- 
> > MFM_createSearchTerms@resource://gre/modules/quickFilterManager.js:515:1 
> > MFS_createSearchTerms@resource://gre/modules/quickFilterManager.js:163:1 
> > QFBM_updateSearch@chrome://messenger/content/quickFilterBar.js:586:1 
> > QFBM__deferredInvocUpdateSearch@chrome://messenger/content/quickFilterBar.js:569:5
> >  
> >
> > TypeError: filterDef is undefined 
> > -- Exception object -- 
> > * 
> > -- Stack Trace -- 
> > MFM_createSearchTerms@resource://gre/modules/quickFilterManager.js:515:1 
> > MFS_createSearchTerms@resource://gre/modules/quickFilterManager.js:163:1 
> > QFBM_updateSearch@chrome://messenger/content/quickFilterBar.js:586:1 
> > QFBM__deferredInvocUpdateSearch@chrome://messenger/content/quickFilterBar.js:569:5
> >  
> >
> > TypeError: filterDef is undefined 
> > -- Exception object -- 
> > * 
> > -- Stack Trace -- 
> > MFM_createSearchTerms@resource://gre/modules/quickFilterManager.js:515:1 
> > MFS_createSearchTerms@resource://gre/modules/quickFilterManager.js:163:1 
> > QFBM_updateSearch@chrome://messenger/content/quickFilterBar.js:586:1 
> > QFBM__deferredInvocUpdateSearch@chrome://messenger/content/quickFilterBar.js:569:5
> >  
> >
> > TypeError: filterDef is undefined 
> > -- Exception object -- 
> > * 
> > -- Stack Trace -- 
> > MFM_createSearchTerms@resource://gre/modules/quickFilterManager.js:515:1 
> > MFS_createSearchTerms@resource://gre/modules/quickFilterManager.js:163:1 
> > QFBM_updateSearch@chrome://messenger/content/quickFilterBar.js:586:1 
> > QFBM__deferredInvocUpdateSearch@chrome://messenger/content/quickFilterBar.js:569:5
> >  
> >
> >
> > (zathura:3201): Gtk-WARNING **: unmatched 
> > gtk_style_context_save/restore() detected while validating context for 
> > GtkEventBox 0x847460 
> >
> > (zathura:3201): Gtk-WARNING **: unmatched 
> > gtk_style_context_save/restore() detected while validating context for 
> > GtkLabel 0x952230 
> > warning: Failed to loads bookmarks. 
> >
> > (zathura:3201): Gtk-WARNING **: unmatched 
> > gtk_style_context_save/restore() detected while validating context for 
> > GtkEventBox 0x847460 
> >
> > (zathura:3201): Gtk-WARNING **: unmatched 
> > gtk_style_context_save/restore() detected while validating context for 
> > GtkLabel 0x952230 
> >
> > (zathura:3214): Gtk-WARNING **: unmatched 
> > gtk_style_context_save/restore() detected while validating context for 
> > GtkEventBox 0x1ac7460 
> >
> > (zathura:3214): Gtk-WARNING **: unmatched 
> > gtk_style_context_save/restore() detected while validating context for 
> > GtkLabel 0x1bd2230 
> > warning: Failed to loads bookmarks. 
> >
> > (zathura:3214): Gtk-WARNING **: unmatched 
> > gtk_style_context_save/restore() detected while validating context for 
> > GtkEventBox 0x1ac7460 
> >
> > (zathura:3214): Gtk-WARNING **: unmatched 
> > gtk_style_context_save/restore() detected while validating context for 
> > GtkLabel 0x1bd2230 
> >
> > (zathura:3214): Gtk-WARNING **: unmatched 
> > gtk_style_context_save/restore() detected while validating context for 
> > GtkEventBox 0x1ac7460 
> >
> > (zathura:3214): Gtk-WARNING **: unmatched 
> > gtk_style_context_save/restore() detected while validating context for 
> > GtkLabel 0x1bd2230 
> >
> > (eog:3229): GLib-GObject-WARNING **: The property 
> > GtkCellRendererPixbuf:follow-state is deprecated and shouldn't be used 
> > anymore. It will be removed in a future version. 
> >
> > (eog:3267): GLib-GObject-WARNING **: The property 
> > GtkCellRendererPixbuf:follow-state is deprecated and shouldn't be used 
> > anymore. It will be removed in a future version. 
> >
> > (eog:3279): GLib-GObject-WARNING **: The property 
> > GtkCellRendererPixbuf:follow-state is deprecated and shouldn't be used 
> > anymore. It will be removed in a future version. 
> >
> > (eog:3291): GLib-GObject-WARNING **: The property 
> > GtkCellRendererPixbuf:follow-state is deprecated and shouldn't be used 
> > anymore. It will be removed in a future version. 
> >
> >
> >
> >
> >
> >
> >
> > On 05.05.2015 18:52, Tycho Andersen wrote: 
> > > Hi Niklas, 
> > > 
> > > On Tue, May 05, 2015 at 03:12:11PM +0200, Niklas Semmler wrote: 
> > >> Hello there, 
> > >> 
> > >> is anybody else using Thunderbird? 
> > >> 
> > >> I am interested in existing workarounds. The following problems occur 
> > to me: 
> > >> 
> > >> When changing between mail windows, some windows disappear or become 
> > >> inaccessible (I only see the current widow or the background). [see 1] 
> > >> 
> > >> When opening attachments (e.g. pdf with zathura, or pics with eye of 
> > gnome) 
> > >> the attachments open in a small window over the main window and ignore 
> > >> keyboard input other than the qtile kill window command. (Btw mouse 
> > input 
> > >> works.) 
> > >> 
> > >> I have recently updated to the latest qtile version from the git and 
> > the 
> > >> problem persists. 
> > > 
> > > Can you get an xtrace of the problem? 
> > > 
> > > Thanks, 
> > > 
> > > Tycho 
> > > 
> > >> Best, 
> > >> Niklas 
> > >> 
> > >> [1] Logs filled with 
> > >> 2015-05-05 15:06:12,358 ERROR layoutAll:158 Exception in layout max 
> > >> Traceback (most recent call last): 
> > >>    File "/usr/lib/python2.7/site-packages/libqtile/group.py", line 155, 
> > in 
> > >> layoutAll 
> > >>      self.layout.layout(normal, screen) 
> > >>    File "/usr/lib/python2.7/site-packages/libqtile/layout/base.py", 
> > line 58, 
> > >> in layout 
> > >>      self.configure(i, screen) 
> > >>    File "/usr/lib/python2.7/site-packages/libqtile/layout/max.py", line 
> > 126, 
> > >> in configure 
> > >>      client.hide() 
> > >>    File "/usr/lib/python2.7/site-packages/libqtile/window.py", line 
> > 357, in 
> > >> hide 
> > >>      self.window.unmap() 
> > >>    File "/usr/lib/python2.7/site-packages/libqtile/xcbq.py", line 685, 
> > in 
> > >> unmap 
> > >>      self.conn.conn.core.UnmapWindowChecked(self.wid).check() 
> > >>    File "/usr/lib/python2.7/site-packages/xcffib/__init__.py", line 
> > 306, in 
> > >> check 
> > >>      self.conn.request_check(self.sequence) 
> > >>    File "/usr/lib/python2.7/site-packages/xcffib/__init__.py", line 
> > 520, in 
> > >> wrapper 
> > >>      return f(*args) 
> > >>    File "/usr/lib/python2.7/site-packages/xcffib/__init__.py", line 
> > 627, in 
> > >> request_check 
> > >>      self._process_error(err) 
> > >>    File "/usr/lib/python2.7/site-packages/xcffib/__init__.py", line 
> > 598, in 
> > >> _process_error 
> > >>      raise error(buf) 
> > >> WindowError 
> > >> 
> > >> -- 
> > >> You received this message because you are subscribed to the Google 
> > Groups "qtile-dev" group. 
> > >> To unsubscribe from this group and stop receiving emails from it, send 
> > an email to [email protected] <javascript:>. 
> > >> For more options, visit https://groups.google.com/d/optout. 
> > > 
> >
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "qtile-dev" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to [email protected].
> For more options, visit https://groups.google.com/d/optout.

-- 
You received this message because you are subscribed to the Google Groups 
"qtile-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to