! 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 !
When dragging a tab from a maximised window to a new window, the new window a...
Status:
RESOLVED: MOVED

Comments

Description Pim Pronk 2017-01-20 16:24:30 CET
When you have an application like Chromium where you can drag tabs away from the current window to create a new window, the new window for the dragged tab always maximises.

It seems the new window copies all flags, but by doing that it changes the expected behaviour. If you drag the original window the window restores to the original size with a position under the current cursor and if you release the mouse button it stays on that current position. I would assume that dragging one of the tabs to a new window would have the same behaviour, however as said if you release the mouse button for a dragged tab the window maximises.
Comment 1 Pim Pronk 2017-01-20 16:27:13 CET
Sorry, my first sentence is not specific enough.

When you have an application like Chromium where you can drag tabs away from the current window to create a new window, the new window for the dragged tab always maximises when the original window is maximized.
Comment 2 Olivier Fourdan editbugs 2017-01-20 16:33:15 CET
I see the same behaviour in gnome-shell, sounds like a client bug.
Comment 3 Pim Pronk 2017-01-21 00:34:21 CET
It appears that clientToggleMaximized is called from netwm.c:394, but I dont understand yet where the NET_VM_STATE event is triggered and/or why the NET_WM_STATE_MAXIMIZED_* atoms are even set in the event payload.

I checked the trace log and followed the code in clientFrame but I dont see any of the NET_VM_STATE_MAXIMIZED_* atoms being set or copied.
Comment 4 Git Bot editbugs 2020-05-29 12:14:35 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/246.

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 #13299

Reported by:
Pim Pronk
Reported on: 2017-01-20
Last modified on: 2020-05-29

People

Assignee:
Olivier Fourdan
CC List:
0 users

Version

Version:
4.12.0

Attachments

Additional information