Bug 263212 - Moving window my dragging empty areas doesn't work in Firefox/Thunderbird
Summary: Moving window my dragging empty areas doesn't work in Firefox/Thunderbird
Status: CLOSED UPSTREAM
Alias: None
Product: Oxygen
Classification: Plasma
Component: gtk2-engine (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: Hugo Pereira Da Costa
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-01-15 12:56 UTC by c2953420
Modified: 2011-01-16 11:13 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description c2953420 2011-01-15 12:56:37 UTC
Version:           unspecified (using KDE 4.5.1) 
OS:                Linux

You cannot move Firefox/Thunderbird windows by dragging empty areas of the toolbars.
That's especially annoying in Fx4, where tab bar and title bar blend into each other when tabs-on-top is  enabled and the menu bar is hidden.

Reproducible: Always

Steps to Reproduce:
Try to drag the empty area next to the tabs

Actual Results:  
Nothing happens

Expected Results:  
Window is moved
Comment 1 Hugo Pereira Da Costa 2011-01-15 13:07:49 UTC
indeed won't work. Can't work.
Its due to the (ugly) way these apps use Gtk.
Same is true for openoffice.

If these were "real" Gtk applications that would not try re-invent the wheel and use Gtk as just a "facade" (some make-up to appear 'good' on top of ugly code), then it would work.

Can't do anything about it.
Comment 2 c2953420 2011-01-16 11:00:03 UTC
It's possible to make window moving working in Fx4 by adding this code to userChrome.css[1]:

toolbar:not(#toolbar-menubar), #toolbar-menubar:not([autohide=true]), .chromeclass-toolbar, hbox, vbox, windowdragbox {
	-moz-binding: url("chrome://global/content/bindings/toolbar.xml#toolbar-drag");
}

Unfortunately, this will result in having the 'Chrome unmaximizes when clicking titlebar in KDE using the "Maximize windows by dragging to the top of the screen" feature'-issue[2] in Fx, too.

[1] http://kb.mozillazine.org/UserChrome.css
[2] http://code.google.com/p/chromium/issues/detail?id=37013
Comment 3 Hugo Pereira Da Costa 2011-01-16 11:13:46 UTC
Thanks for the info !
However, modifying css files for firefox is beyond the scope of a Gtk style ...