texstudio icon indicating copy to clipboard operation
texstudio copied to clipboard

minimum window height is too big on mac since 4.8.0

Open val461 opened this issue 1 year ago • 31 comments

Environment

  • TeXstudio: 4.8.0-osx-m1
  • Qt Version 6.7.0, compiled with Qt 6.7.0 R
  • OS: Mac M1 14.4.1 (23E224)
  • TeX distribution: texlive

Expected behavior

As with TeXstudio 4.7.3, I should be able to resize the window height to about half the screen. screencast: https://jmp.sh/XrTHWxhc screenshot: Screenshot 2024-05-13 at 10 10 42

Actual behavior

With the default screen resolution 1440*900, I cannot put the mouse pointer low enough to reach the resize handle. Even activating full screen (by clicking the green button in the top left corner) does not show the full window.

Edit (2024-05-14): changing the resolution no longer works.

With the screen resolution 1680*1050 on the same computer, I can reduce the height, but not much. This resolution is less comfortable because text is smaller.

screencast 1440*900: https://jmp.sh/25D2kktr

screenshot 1440*900: Screenshot 2024-05-13 at 09 57 49

screencast 1680*1050: https://jmp.sh/KJXpOVzj

How to reproduce

Try to reduce window height with the mouse pointer.

Workaround

On TeXstudio 4.8.1-osx-m1, set Preferences/General/Style to Fusion. Double-click on the window title bar to resize the window.

val461 avatar May 13 '24 08:05 val461

Not reproducible with texstudio 4.8.0 on Intel Mac, macOS 13.6.6.

muzimuzhi avatar May 13 '24 08:05 muzimuzhi

Please execute view/show/reset sidepanel...

sunderme avatar May 13 '24 10:05 sunderme

this is not working

ZhuZheart98 avatar May 13 '24 12:05 ZhuZheart98

view/show/reset sidepanel

Done. The issue remains.

val461 avatar May 13 '24 13:05 val461

The dock on the left hand side is still the same ?

sunderme avatar May 13 '24 13:05 sunderme

this is the same with texstudio 4.8.0 on Intel Mac, macOS 14.4.1

view/show/reset sidepanel查看/显示/重置侧面板

Done. The issue remains.做。问题仍然存在。

ZhuZheart98 avatar May 13 '24 13:05 ZhuZheart98

The dock on the left hand side is still the same ?

Yes, it's the same when the dock is on the left.

val461 avatar May 13 '24 13:05 val461

the solution is to change options/general/style to anything else but default/osx. Apparently the OSX style does not allow for scrolling through multiple docks... (unlike all other styles)

sunderme avatar May 13 '24 17:05 sunderme

While this issue remains unsolved, I think one can use the following workaround: Double-click the title bar twice (or once) to get the window resized.

miss4chewN8 avatar May 14 '24 06:05 miss4chewN8

Since my last reboot, the workaround of setting the resolution to 1680*1050 no longer works.

the solution is to change options/general/style to anything else but default/osx. Apparently the OSX style does not allow for scrolling through multiple docks... (unlike all other styles)

This doesn't work for me.

Double-click the title bar twice

This does resize the window to a decent height, but causes an other issue: some text on the left overlaps, as on the screenshot below. This other issue applies to the macOS and Fusion styles, but not to the Orion Dark style. With any of these styles, the mouse pointer no longer turns into vertical arrows when trying to resize from the bottom of the window (contrarily to my first post!). Screenshot 2024-05-14 at 12 56 13

val461 avatar May 14 '24 11:05 val461

Perhaps it's helpful to note that one cannot resize from the top with the mouse either. While the mouse pointer will change shape to the left-right mouse pointer on the two vertical sides, it does not change to an up-down pointer at the top, not to a diagonal pointer at the corners. I tried downloading the Intel version of 4.8, same problem.

bishopcranmer avatar May 14 '24 17:05 bishopcranmer

the solution is to change options/general/style to anything else but default/osx. Apparently the OSX style does not allow for scrolling through multiple docks... (unlike all other styles)

Can confirm that the window height can be resized and made scrollable in any style other than default/macOS. I'm using the m1 build of 4.8.0

emilywilder avatar May 18 '24 00:05 emilywilder

Thank you emilywilder for your feedback. It works just as you say!

bishopcranmer avatar May 18 '24 07:05 bishopcranmer

I have opened a bugreport for qt, let's see (https://bugreports.qt.io/browse/QTBUG-125451)

sunderme avatar May 18 '24 10:05 sunderme

the solution is to change options/general/style to anything else but default/osx. Apparently the OSX style does not allow for scrolling through multiple docks... (unlike all other styles)

I said this doesn't work. But I rebooted, tried again, and this works now. Edit: Actually no, after restarting TexStudio the issue is back.

val461 avatar May 20 '24 15:05 val461

I'm using version 4.8.1rc1 and the problem still exists. Every time I open the program, the left column of options are all completely open and one cannot resize the window. The previous session's settings don't "stick".

The quickest solution each time is as follows:

  1. Select View -> Show -> Side Panel and turn it "On"
  2. Select View -> Show -> Side Panel and turn it "Off" Then you can resize the window.

bishopcranmer avatar Jun 05 '24 16:06 bishopcranmer

so, the style is "Fusion" ? Can you share screenshots ?

Can you try to reduce visible docks with view/show/ ?

sunderme avatar Jun 05 '24 19:06 sunderme

Not a useful response. See below.

bishopcranmer avatar Jun 06 '24 08:06 bishopcranmer

Screen shot follows. Remember, too, that settings don't "stick" between sessions. The setting is for Fusion. Screenshot 2024-06-06 at 08 43 33

bishopcranmer avatar Jun 06 '24 12:06 bishopcranmer

btw. the icon set seems to be inconsistent. Try unchecking

grafik

Rest of the image is just for orientation.

octaeder avatar Jun 06 '24 13:06 octaeder

I tried unchecking the "Use System Theme Icons" and restarted TexStudio. I still have the same problem, that every time I open the program, the left column of options are all completely open and one cannot resize the window. I must still use the protocol I mentioned above. The quickest solution each time is as follows: Select View -> Show -> Side Panel and turn it "On" Select View -> Show -> Side Panel and turn it "Off" Then I can resize the window.

Screenshot 2024-06-06 at 09 21 41

Thank you for your quick response, by the way!

bishopcranmer avatar Jun 06 '24 13:06 bishopcranmer

If you close txs while the sidebar is closed (view/show/sidepanel), does it open with the sidepanel closed ? And if you open the sidepanel then, is it okay ?

sunderme avatar Jun 06 '24 19:06 sunderme

If you close txs while the sidebar is closed (view/show/sidepanel), does it open with the sidepanel closed ? And if you open the sidepanel then, is it okay ?

If I close the program with the sidebar closed and then restart the program, the sidebar is again fully open and the window is not resizable. That's what I mean by the setting not "sticking". I have to reset the sidebar each and every time I start the program.

bishopcranmer avatar Jun 07 '24 11:06 bishopcranmer

Is texstudio.ini in your home/.config/texstudio writable ? What happens if you rename it ?

sunderme avatar Jun 07 '24 11:06 sunderme

  • texstudio.ini renamed to texstudio.ini.old. Restarted TexStudio and got the following (see screen capture).
  • I then unchecked `View -> Show -> Side Panel'.
  • Closed TexStudio.
  • Reopened TexStudio and got exactly the same unresizable screen as in the attached capture. In other words, the change didn't "stick". Screenshot 2024-06-07 at 10 21 45

bishopcranmer avatar Jun 07 '24 14:06 bishopcranmer

Additional note: after the above steps, I went into settings and changed `Preferences -> General -> Appearance' to what you see in the attached screen capture below. I closed TXS and reopened and I got a resizable window. The settings for the side panel still don't "stick", but at least I don't have to reset the side panel every time I open TXS to get a resizable window.

This suggests that there's something going on with how the appearance of the side bar is affecting the window as a whole and how its settings aren't being recorded in the INI file?

Screenshot 2024-06-07 at 10 34 55

bishopcranmer avatar Jun 07 '24 14:06 bishopcranmer

The issue persists with texstudio-4.8.1-osx-m1.

val461 avatar Jun 14 '24 09:06 val461

Again, I can't reproduce a persistent issue on my computers. I can only state that the given work-around seems valid. (https://github.com/texstudio-org/texstudio/wiki/Known-Issues#osx) If that is not the case, we need way more debug information than "does not work". (exact hardware setup, what was tried, what were the consequences) Reducing the number of visible docks should definitely help.

sunderme avatar Jun 15 '24 09:06 sunderme

The problem still exists in the latest version. Solution: View->Show->Side Panel (do this 2 or 3 times until the side panel remains closed) After that, it is possible to resize the window. After resizing, go to Options -> Save current settings. You can now close TeXstudio and reopen it

ansisec avatar Jun 17 '24 13:06 ansisec

Again, I can't reproduce a persistent issue on my computers. I can only state that the given work-around seems valid. (https://github.com/texstudio-org/texstudio/wiki/Known-Issues#osx) If that is not the case, we need way more debug information than "does not work". (exact hardware setup, what was tried, what were the consequences) Reducing the number of visible docks should definitely help.

Thank you. Solved for me on 4.8.1-osx-m1, by setting option/general/style to Fusion.

val461 avatar Jun 17 '24 13:06 val461