Fullscreen vs. reading mode
Daniel
xracoonx at gmx.de
Mon Jul 27 20:21:26 UTC 2020
On 2020-07-27 16:55, Pavel Sanda wrote:
> On Tue, Jul 21, 2020 at 05:33:07AM +0200, Daniel wrote:
>> I don't have Linux, so it might be that some WMs react very differently from
>> macOS. So, your WM has a dedicated fullscreen function to send any
>> application into fullscreen. However, it surprises me that your WM knows
>> what's best to hide when you go into fullscreen.
>
> Of course it does not know. It just kill unnecesary WM visuals (like borders
> and titles). It's just poor man's version of lyx fullscreen (your "focus")
> and fails in similar way to what you see in Mac's WM fullscreen.
I see. On Mac's WM it's totally different in that applications normally
stay just the way as they are in windowed mode just the window fills the
whole screen (or half of the screen) without showing the menu bar, title
bar and dock. I know of no other application that behaves differently in
fullscreen mode. (There are a couple of apps that have modes in addition
to the usual fullscreen mode such as presentation mode for Powerpoint or
Read Mode in Adobe Reader.)
>> So, my idea was to distinguish these two modes and be able
>> to use them independently. One configurable "focus mode" and one fullscreen
>> mode. The latter just sends the window into fullscreen and is what happens
>> when one uses the WM's dedicated fullscreen functionality.
>
> To me, the proper way how to deal with this is to fix our code, that we
> correctly catch the signal from (not only Mac) WM to become fullscreen
> and do exactly what we do in the "focus" mode -- and not having two
> different modes. I do not know whether Qt gives us such signal to catch
> though.
>
> If you strive for a second mode it should be fairly easy to get that as
> combination of command-sequence & ui-toggle keys and bind to your favourite
> key.
I think LyX is already catching that signal. For example, because when I
use the Mac WM's fullscreen button, LyX puts a checkmark on the
Fullscreen menu.
However, since on Mac the expectation is that one can just work as usual
with apps in fullscreen/spitscreen, I'd suggest that, if no separation
between fullscreen and "focus" mode is implemented, to deactivate the
hiding of Ui elements in fullscreen mode by default. Now that I know
that I can just deactivate this, I can again work properly in
fullscreen/splitscreen. But it took me a little too long to realize this.
Daniel
More information about the lyx-devel
mailing list