[Xfce-bugs] [XFCE 0000218]: Undocked toolbars

xfce-bugs at xfce.org xfce-bugs at xfce.org
Sat Jun 19 16:11:28 CEST 2004


A BUGNOTE has been added to this bug.
=======================================================================
http://bugs.xfce.org/view_bug_page.php?f_id=0000218
=======================================================================
Reporter:                   bwalle
Handler:                    olivier
=======================================================================
Project:                    XFCE
Bug ID:                     0000218
Category:                   xfwm
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     assigned
=======================================================================
Date Submitted:             2004-06-05 20:40 GMT
Last Modified:              2004-06-19 14:11 GMT
=======================================================================
Summary:                    Undocked toolbars
Description: 
There's a problem with undocked menu bars and icon bars. If a dialog is
opened, the main window doesn't get the focus but the toolbar.

To reproduce, do following:

 1. Open gftp (2.0.17)
 2. Drag the || (left) at the toolbar to make it floating.
 3. Focus the main window.
 4. Help -> About
 5. Close
 6. Type a few characters, you'll see that the input focus is at the
    "Host" field.

Or:

   1. Open Konqueror (KDE 3.2.2)
 2. Double click the || (left) at the toolbar to make it floating.
 3. Focus the main window.
 4. Help -> About KDE
 5. Close
 6. You'll see optically that the focus is at the toolbar.


One solution could be to exclude _NET_WM_WINDOW_TYPE_TOOLBAR from getting
automatically the focus if another window is closed. Consider also
_NET_WM_WINDOW_TYPE_MENU and even _NET_WM_WINDOW_TYPE_UTILITY.
=======================================================================

-----------------------------------------------------------------------
 olivier - 2004-06-05 21:12 GMT 
-----------------------------------------------------------------------
Thanks, I'll look into it.

-----------------------------------------------------------------------
 olivier - 2004-06-19 13:14 GMT 
-----------------------------------------------------------------------
The gftp problem is from gftp, it's not a bug with xfwm4. It shows in
metacity too.

-----------------------------------------------------------------------
 bwalle - 2004-06-19 13:39 GMT 
-----------------------------------------------------------------------
Not here, maybe you use another version or configuration.

What's about Qt dockbars? 

AFAIK there are no general Gtk+ dockbars, are they?
But Anjuta shows the same problem, maybe you can test it in Metacity, too,
if you have Anjuta installed.

-----------------------------------------------------------------------
 olivier - 2004-06-19 14:11 GMT 
-----------------------------------------------------------------------
- I've tested with metacity 2.8.0 from GNOME 2.6 -

There is no way to identify those toolbars are they are not using the
NET_WM type field (ie the proposed solution will have no effect at all)

One solution is to send focus back to the previous focused window (this
was the original solution that was implemented in xfce 4.0.0 but reverted
later because of the OpenOffice bug)



More information about the Xfce-bugs mailing list