Bug 78409 - Cannot exit from fullscreening when a client fullscreened from maximize
Summary: Cannot exit from fullscreening when a client fullscreened from maximize
Status: VERIFIED FIXED
Alias: None
Product: Wayland
Classification: Unclassified
Component: weston (show other bugs)
Version: unspecified
Hardware: Other All
: medium normal
Assignee: Wayland bug list
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-05-07 22:07 UTC by Anu Reddy
Modified: 2014-08-29 18:13 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
maximize-to-fullscreen (1.11 MB, video/webm)
2014-05-07 22:09 UTC, Anu Reddy
Details

Description Anu Reddy 2014-05-07 22:07:55 UTC
Steps :
1. Launch weston
2. Launch weston-terminal
3. Maximize weston-terminal
4. Enter fulscreen via F11
5. Press F11 to exit fullscreen
6. Observe weston-terminal cannot exit from fullscreen mode. See attached video.

Software Stack:
wayland (HEAD) 1.4.92-0-g4a4523f
drm (HEAD) libdrm-2.4.52-0-g46d451c
mesa (HEAD) remotes/origin/10.1-0-g340ebdb
libva (HEAD) libva-1.2.1-0-g88ed1eb
intel-driver (HEAD) 1.2.2-0-g121e70d
cairo (HEAD) heads/1.12-0-g59e2a93
libinput (HEAD) remotes/origin/HEAD-0-g97af5c3
weston (HEAD) 1.4.92-0-gd7d71e8
Comment 1 Anu Reddy 2014-05-07 22:09:45 UTC
Created attachment 98646 [details]
maximize-to-fullscreen
Comment 2 Ander Conselvan de Oliveira 2014-05-08 10:21:56 UTC
I investigated this a little bit, but I'm not sure what is the proper solution.

On the client side, the window frame is changed on the frame resize handler, which is triggered by a configure event sent when the surface state changes to maximized or fullscreen. The server, however, doesn't send a configure event when the surface goes from fullscreen to non-fullscreen, even it has the maximized state on.

One solution would be to send the configure event when removing the fullscreen state if the surface is maximized. Another would be to make the client remember it is maximized and what size it was and change back to that state when it decides to no longer be fullscreen.
Comment 3 Anu Reddy 2014-08-29 18:13:01 UTC
Closing the bug. This is no longer reproducible on following environment.

wayland (HEAD) remotes/origin/HEAD-0-g6d0f298 
drm (HEAD) heads/master-16-gd686160 
mesa (HEAD) remotes/origin/10.2-0-gd82ca4e 
libva (HEAD) libva-1.3.1-0-g053f70f 
intel-driver (HEAD) 1.3.1-0-ga720bc8 
cairo (HEAD) heads/1.12-0-g59e2a93 
libinput (HEAD) heads/master-163-gbb10ec8 
weston (HEAD) remotes/origin/master-0-g652c794


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.