[PATCH] [RFC]Shell: Hide panels when compositor has a top fullscreen surface.

Juan Zhao juan.j.zhao at linux.intel.com
Wed Feb 15 17:03:20 PST 2012


  On 02/16/2012 02:02 AM, Bill Spitzak wrote:
> Juan Zhao wrote:
>
>> Only when un-fullscreen window over fullscreen window, the panels 
>> will be shown
>> https://gitorious.org/dataforuse/dataforuse/blobs/master/nFoverF.png 
>> <https://gitorious.org/dataforuse/dataforuse/blobs/master/nFoverF.png>
>
> Does anybody have any actual documentation or tests that show that 
> this behavior is wanted?
We did the tests over Windows and Linux.
> This prevents the fullscreen window from putting any useful clickable 
> areas, such as the menubar, where the panels may obscure it, since the 
> user cannot choose them without first raising the fullscreen window.
This is just one condition about the behaviour for fullscreen surface. 
The client doesn't know it, or even leave that fullscreen status. In 
fact, It doesn't need to know it.

When the top-level of regular surfaces in compositor side is 
un-fullscreen, The focus of the compositor should be that un-fullscreen 
window. Once you click on that fullscreen surface or switch to it, you 
can go further to use the menubar.
>
> In addition if the panels obscure all the control areas and leave only 
> an area where clicks will do something (such as the canvas in a 
> painting program) then it will be impossible for the user to re-raise 
> the fullscreen window with a click without changing the document as well. 
You can use alt+table switch to that fullscreen surface. This can 
resolve your concern. :)

Thanks,
Juan



More information about the wayland-devel mailing list