minimum window height is too big on mac since 4.8.0
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:
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:
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.
Not reproducible with texstudio 4.8.0 on Intel Mac, macOS 13.6.6.
Please execute view/show/reset sidepanel...
this is not working
view/show/reset sidepanel
Done. The issue remains.
The dock on the left hand side is still the same ?
this is the same with texstudio 4.8.0 on Intel Mac, macOS 14.4.1
view/show/reset sidepanel查看/显示/重置侧面板
Done. The issue remains.做。问题仍然存在。
The dock on the left hand side is still the same ?
Yes, it's the same when the dock is on the left.
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)
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.
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!).
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.
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
Thank you emilywilder for your feedback. It works just as you say!
I have opened a bugreport for qt, let's see (https://bugreports.qt.io/browse/QTBUG-125451)
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.
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:
- Select View -> Show -> Side Panel and turn it "On"
- Select View -> Show -> Side Panel and turn it "Off" Then you can resize the window.
so, the style is "Fusion" ? Can you share screenshots ?
Can you try to reduce visible docks with view/show/
Not a useful response. See below.
Screen shot follows. Remember, too, that settings don't "stick" between sessions. The setting is for Fusion.
btw. the icon set seems to be inconsistent. Try unchecking
Rest of the image is just for orientation.
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.
Thank you for your quick response, by the way!
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 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.
Is texstudio.ini in your home/.config/texstudio writable ? What happens if you rename it ?
- 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".
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?
The issue persists with texstudio-4.8.1-osx-m1.
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.
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
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.