! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
Snapping and exiting fullscreen firefox without titlebar (and CSD apps) is br...
Status:
RESOLVED: MOVED

Comments

Description Aleks 2018-10-28 18:53:51 CET
1. Since firefox version 60 or so it is possible to disable the titlebar. However, snapping the maximized firefox-window to the side leaves gaps around the window and works only properly at the second time.
Reproduce: Maximize firefox without titlebar. Drag firefox to the side to snap it.

2. Also leaving the firefox fullscreen-mode leaves gaps around the window.
Reproduce: Make firefox without titlebar fullscreen by pressing F11. Press F11 again to leave fullscreen.
Comment 1 Aleks 2018-10-29 08:04:44 CET
This seems also to be the case with evince since it doesn't have a titlebar by default. I guess this will be the problem with all applications which use CSD.
Comment 2 Olivier Fourdan editbugs 2018-10-29 08:41:14 CET
What version of xfwm4? That sounds like a dupe of bug 14511
Comment 3 Aleks 2018-10-29 09:13:30 CET
Linux Mint 19
xfwm4      4.13.0
xfce          4.12
Comment 4 ondondil 2018-11-02 16:15:14 CET
While I cannot reproduce the issue with going back from fullscreen in xfwm 4.13.1, I can confirm the wrong behaviour when snapping Firefox window, that has titlebar turned off, to the side of the screen.

------------------------------

Tested in following environment:
Xubuntu 18.10 with experimental PPA enabled (https://launchpad.net/~xubuntu-dev/+archive/ubuntu/experimental)
xfwm 4.13.1
firefox 63.0

------------------------------

CASE 1 - compositor enabled:
1. Open maximized Firefox window with titlebar turned off.
2. Snap it to the side of the screen.

Result:
Snapping Firefox window to the side of the screen leaves gaps around the window. You need to snap it to the side again to see expected result.

Expected result:
Firefox window should snap to the side on the first try with correct window size.


In this case there's also another problem that has been reported on Firefox bug tracker:
https://bugzilla.mozilla.org/show_bug.cgi?id=1484877

That report is about Xfce 4.12.5. On xfwm 4.13.1 this behaviour is a little different than the one described on Firefox bugzilla:

1. Open maximized Firefox window with titlebar disabled.
2. Unmaximize the window (everything works correctly).
3. Snap Firefox window to the side.

Once you reach step 3, you'll see that Firefox window size has correctly been changed, but context menus and the autoscroll starting position is wrong. They appear on the top-left of the pointer. In case of context menu, this results in a single right-click triggering the Back button in the menu, instead of just opening the menu. 
Also, with xfwm 4.13.1 the workaround described on Firefox bugzilla doesn't work if the window is snapped to the side of the screen, because once you maximize the window and unmaximize it again, it doesn't remember the previous unmaximized window position and geometry.

------------------------------

CASE 2 - compositor disabled:
1. Open maximized Firefox window with titlebar turned off.
2. Snap it to the side of the screen (everything seems to work correctly, the size of the window is correct)
3. Snap it to the other side of the screen or move its window around without maximizing it.

Once you reach step 3, you'll see that Firefox window has correctly changed its size, but context menus and the autoscroll starting position is wrong again and right-click triggers the Back button again.

CASE 2.1 - compositor disabled:
1. Open maximized Firefox window with titlebar turned off.
2. Unmaximize Firefox window (everything seems to work correctly)
3. Snap it to the side of the screen.

Once you reach step 3, you'll see that Firefox window has correctly changed its size, but context menus and the autoscroll starting position is wrong again and right-click triggers the Back button again.
Comment 5 Git Bot editbugs 2020-05-29 12:23:15 CEST
-- GitLab Migration Automatic Message --

This bug has been migrated to xfce.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.xfce.org/xfce/xfwm4/-/issues/306.

Please create an account or use an existing account on one of our supported OAuth providers. 

If you want to fork to submit patches and merge requests please continue reading here: https://docs.xfce.org/contribute/dev/git/start#gitlab_forks_and_merge_requests

Also feel free to reach out to us on the mailing list https://mail.xfce.org/mailman/listinfo/xfce4-dev

Bug #14807

Reported by:
Aleks
Reported on: 2018-10-28
Last modified on: 2020-05-29

People

Assignee:
Olivier Fourdan
CC List:
1 user

Version

Version:
4.13.0

Attachments

Additional information