texstudio icon indicating copy to clipboard operation
texstudio copied to clipboard

Distraction-free mode

Open CsatiZoltan opened this issue 6 years ago • 8 comments

A distraction-free mode (when only the text editor is visible, without menus, line numbering, etc.) is welcome. Setting TeXstudio to full screen and closing the side bars helps but the menus are still visible, as well as the toolbar at the top. A single command to enter and exit distraction-free mode would be nice.

CsatiZoltan avatar Feb 21 '19 12:02 CsatiZoltan

It's possible to deactivate almost all elements except for the menu bar itself. The settings are a bit scattered:

  • Context menu on menu or toolbars
  • Options -> Internal PDF Viewer -> Auto-hide toolbars in Embedded Mode
  • Options -> Advanced Editor -> Appearance -> + Show Line Change State | Show State Panel | Show Line Numbers

You can use the fullscreen mode (F11 or double-click on an empty part of the menu bar). Note: the toolbar settings are saved separately for normal and fullscreen mode. All other settings are global.

grafik

timhoffm avatar Mar 13 '19 01:03 timhoffm

And how can I remove the toolbar at the bottom? bottomBar

Any plans for being able to remove the menu as well (or just hide it, and display it when hovering over it - this is how the toolbar works in the embedded viewer)?

CsatiZoltan avatar Mar 13 '19 11:03 CsatiZoltan

grafik

Hiding the menu bar ist not easily possible. A large part of the shorcut system is bound via the menu. If we hide the menu, these shortcuts become inactive. This is a property of Qt and we cannot do anything about it. The only way for hiding the menu would be to complete rewrite the shortcut halding mechanisms. This is not something we are aiming for and I'm not even sure if that's possible.

timhoffm avatar Mar 16 '19 11:03 timhoffm

Thanks, this is good enough. I keep this issue open if the TeXstudio team wants to make the steps you showed me possible with a single menu item. Otherwise, feel free to close this issue.

CsatiZoltan avatar Mar 16 '19 13:03 CsatiZoltan

Dear Maintainers!

Please, add simply distraction free mode like other modern editors - with only one key - only text on the screen.

Best Regards

M.

Martin-2019 avatar Mar 15 '22 19:03 Martin-2019

Clarification needed. Following elements are known:

image

  1. horizontal & vertical tool bars
  2. status bar
  3. structure, messages, and (embedded) PDF-viewer
  4. editor tab bar
  5. editor status
  6. labels, line numbers, folding, and line changes
  7. white space marks within text

So what should be hidden by the function?

octaeder avatar Mar 06 '24 13:03 octaeder

First, we need to define what distraction-free writing means. To me, it means that the user wants to type without considerable mouse usage. This implies that we do not need the structure pane, the status bar, the horizontal and vertical toolbars, the editor status and the line numbers (that is not relevant when writing). What I would definitely keep is the tab bar (if a project is structured into multiple files, the user may want to see the opened files), the editor (obviously). It is debatable, but I think that on modern screens, a lot of text can fit in one line. It is not convenient to look at very long lines, so we could keep the PDF viewer pane visible to take some screen space (although this might not be true on laptop screens). Since it is also useful to compile the document from time to time, the message pane could be left too. The folding is not intrusive and helps in seeing the global structure.

The problem is that distraction-free is subjective. What about creating an option to let the user select what to hide when entering to distraction-free mode?

CsatiZoltan avatar Mar 06 '24 16:03 CsatiZoltan

My idea is shown in the screenshot - full screen os x and Screen text only.

In addition, the possibility to turn off even the line numbering shown in the screenshot.

I am surprised that the topic is back.

Regards

Martin-2019 avatar Mar 06 '24 19:03 Martin-2019