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

RESOLVED FIXED in Firefox 60

Status

()

defect
RESOLVED FIXED
a year ago
a year ago

People

(Reporter: m.kurz, Assigned: stransky)

Tracking

(Blocks 1 bug)

59 Branch
mozilla60
Points:
---

Firefox Tracking Flags

(firefox60 fixed)

Details

Attachments

(3 attachments)

(Reporter)

Description

a year ago
Posted 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.
(Reporter)

Comment 1

a year ago
Added a second screenshot where you can see the arrow mouse cursor when having CSD disabled. That is what I am expecting.
(Assignee)

Updated

a year ago
Blocks: gtktitlebar
(Assignee)

Updated

a year ago
Assignee: nobody → stransky
(Assignee)

Comment 2

a year ago
Thanks. Please run ' env | grep "XDG_" ' command on console and attach an output here.
Flags: needinfo?(m.kurz)
(Assignee)

Updated

a year ago
Component: Untriaged → Widget: Gtk
Product: Firefox → Core
(Reporter)

Comment 3

a year ago
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)
(Assignee)

Comment 4

a year ago
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)
(Reporter)

Comment 5

a year ago
$MOZ_GTK_TITLEBAR_DECORATION=client ./firefox
-> WORKS! ;)

$MOZ_GTK_TITLEBAR_DECORATION=system ./firefox
-> Does NOT work :(
Flags: needinfo?(m.kurz)
Comment hidden (mozreview-request)
(Assignee)

Updated

a year ago
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 hidden (mozreview-request)

Comment 8

a year ago
mozreview-review
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+

Comment 9

a year ago
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

Comment 10

a year ago
bugherder
https://hg.mozilla.org/mozilla-central/rev/6068ac4e1b24
Status: NEW → RESOLVED
Last Resolved: a year ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla60
(Reporter)

Comment 11

a year ago
Any chance this can be backported to mozilla59?
You need to log in before you can comment on or make changes to this bug.