Flameish / Novel-Grabber

Novel-Grabber can download novels from pretty much any webnovel and lightnovel site.
MIT License
475 stars 62 forks source link

[BUG] Cannot grab at lower screen resolution #375

Open skycafemix opened 1 year ago

skycafemix commented 1 year ago

Summary The Grab button and bottom part of the window cannot be displayed when screen resolution is set to Scaled / Larger Text on Macbook Pro, because there are no scrollbars on the window. This likely affects all users of smaller screens or people with eyestrain who use lower screen resolutions.

Please add horizontal and vertical scrollbars, and scale window to viewport size if bigger than viewport.

Details I started using Novel-Grabber because my Kindle allows me to read books on an e-ink display with large font size which greatly reduces eye strain. So I use my Mac with the Preferences > Built-In Retina Display settings set to Resolution: Scaled and the largest text size. This still makes it a pretty big screen.

The problem is that Novel-Grabber's window is larger than the screen and I cannot move the top of the window beyond the top of the screen, so the bottom part is inaccessible.

If I reduce the scaling to one notch smaller on the text size settings in the preferences, it works and I can see the Grab button. However, this is not realistic for me since it physically hurts to focus on tiny font sizes for a long time, I basically have trouble using the computer when running Novel-Grabber in the background. (Though the MacBook Pro lets me zoom the display in and out so it is not a killer.)

Screenshots Screenshot showing bottom of window is hidden

novel-grabber-bugreport-hiddenarea

Display preferences

novel-grabber-bugreport-prefs

Platform MacbookPro with Touchbar MacOS 10.15.7

java --version java 12.0.1 2019-04-16 Java(TM) SE Runtime Environment (build 12.0.1+12) Java HotSpot(TM) 64-Bit Server VM (build 12.0.1+12, mixed mode, sharing)

Logs No errors shown in terminal

Flameish commented 1 year ago

Hey, thanks for your extensive report. I'm sorry to say that I haven't worked on this project for more than a year at this point. I've finally added a notice to the Readme concerning this.

From a quick googling around I've seen that you might be able to use some java command line parameter to fix or help with your scaling issue, I'm not really familiar with that.

skycafemix commented 1 year ago

Hey, thanks so much for the reply. If I ever figure it out I'll reply here.