Closed Bug 1433863 Opened 6 years ago Closed 6 years ago

[GNOME-Flashback] Can't resize window with mouse when CSD is enabled

Categories

(Core :: Widget: Gtk, defect)

59 Branch
defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla60
Tracking Status
firefox60 --- fixed

People

(Reporter: m.kurz, Assigned: stransky)

References

(Blocks 1 open bug)

Details

Attachments

(3 files)

Attached image without_titlebar.png
User Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/64.0.3282.119 Safari/537.36

Steps to reproduce:

Activated CSD by setting drawInTitlebar to true.

Tried to resize the firefox window with the mouse.

That didn't work.


Actual results:

Can't resize the firefox window when CSD is enabled.


Expected results:

When there is no titlebar (because activated in customize menu) I can not resize the browser windows anymore with the mouse - usually you get arrow icons as cursor as soon as you hover of the edge of the browser window. That does not happen with drawInTitlebar set to true, but works with the "old" behaviour when set to false.
Please fix this ;)

See my attached screenshot.

I am using Ubuntu 17.10.
Added a second screenshot where you can see the arrow mouse cursor when having CSD disabled. That is what I am expecting.
Assignee: nobody → stransky
Thanks. Please run ' env | grep "XDG_" ' command on console and attach an output here.
Flags: needinfo?(m.kurz)
Component: Untriaged → Widget: Gtk
Product: Firefox → Core
Here we go:

~$ env | grep "XDG_"
XDG_MENU_PREFIX=gnome-flashback-
XDG_GREETER_DATA_DIR=/var/lib/lightdm-data/mkurz
XDG_SESSION_TYPE=x11
XDG_DATA_DIRS=/usr/share/gnome-flashback-compiz:/usr/share/gnome-flashback-compiz:/usr/local/share:/usr/share:/var/lib/snapd/desktop:/var/lib/snapd/desktop
XDG_SESSION_DESKTOP=gnome-flashback-compiz
GNOME_SESSION_XDG_SESSION_PATH=/org/freedesktop/DisplayManager/Session0
XDG_SEAT_PATH=/org/freedesktop/DisplayManager/Seat0
XDG_CURRENT_DESKTOP=GNOME-Flashback:GNOME
XDG_RUNTIME_DIR=/run/user/1000
XDG_SESSION_PATH=/org/freedesktop/DisplayManager/Session0
XDG_CONFIG_DIRS=/etc/xdg/xdg-gnome-flashback-compiz:/etc/xdg/xdg-gnome-flashback-compiz:/etc/xdg
Flags: needinfo?(m.kurz)
Thanks. Can you please check your firefox build with those flags and report if the resizers/decoration looks as expected? Set to MOZ_GTK_TITLEBAR_DECORATION to "client" or "system" and run firefox, like:

$MOZ_GTK_TITLEBAR_DECORATION=client ./firefox
$MOZ_GTK_TITLEBAR_DECORATION=system ./firefox

Thanks.
Flags: needinfo?(m.kurz)
$MOZ_GTK_TITLEBAR_DECORATION=client ./firefox
-> WORKS! ;)

$MOZ_GTK_TITLEBAR_DECORATION=system ./firefox
-> Does NOT work :(
Flags: needinfo?(m.kurz)
Status: UNCONFIRMED → NEW
Ever confirmed: true
Summary: [CSD] Can't resize window with mouse when CSD is enabled → [GNOME-Flashback] Can't resize window with mouse when CSD is enabled
Comment on attachment 8946243 [details]
Bug 1433863 - Use client titlebar decorations on GNOME Flashback (former fallback) DE,

https://reviewboard.mozilla.org/r/216208/#review222322
Attachment #8946243 - Flags: review?(jhorak) → review+
Pushed by stransky@redhat.com:
https://hg.mozilla.org/integration/autoland/rev/6068ac4e1b24
Use client titlebar decorations on GNOME Flashback (former fallback) DE, r=jhorak
https://hg.mozilla.org/mozilla-central/rev/6068ac4e1b24
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla60
Any chance this can be backported to mozilla59?
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: