kapitainsky / RcloneBrowser

Simple cross platform GUI for rclone. Supports macOS, GNU/Linux, BSD family and Windows.
https://github.com/kapitainsky/RcloneBrowser
MIT License
2.24k stars 215 forks source link

Small visual bug #228

Open Trebor87 opened 11 months ago

Trebor87 commented 11 months ago

When running on a old square 17' screen (don't laugh) the Rclone Browser is larger than the screen and cannot be resize to be smaller

W1Real commented 11 months ago

I DO NOT have the same bug here, I tried to reproduce the issue by changing the DPI settings on my main monitor to 150% DPI on Windows, and moving to my 17'' 1024x768 monitor at 100% DPI, and the window did resize every time I moved it.

Try to look at your DPI settings, also try to right click then "change DPI settings" then "Use this fix" box or/and the "Override high DPI scaling behavior".

💁🏻‍♂️ I have no idea if it will work. But worth a try. If you are not on Windows try something similar.

edit: I tried to use just on it, and still didn't have any problems. The DPI settings for my little monitor goes just up to 125%, unless I did set it to a resolution like 800x600 maybe it would get too big. I'm on Windows 10 21H1 build 19043.1826

Trebor87 commented 11 months ago

Hi

Thanks for getting back to me

I've found out where the bug is

For info I'm running Linux, Arch and Debian on two PCs, on the Debian 12 setup I've only got a 17 screen 1280 * 1024, scale normal 100% (on the Arch system my screens are 22 & 27 so no problems there)

When I open Rclone Browser I can adjust the app's window to fit perfectly on the screen, see image Rsync screen bug_1.png

BUT when I open / double click Remotes (My_Gdrive) it enlarges the app's window, probably to show all the buttons, (Mount, Upload, Get Size etc) and this makes the app's window bigger than the screen itself, and cannot downsize it to fit the screen, see Rsync screen bug_2.png

Hope this helps

My best regards and bravo for you app, rclone browser is very useful

Trevor

On Sun, 10 Sept 2023 at 05:23, W1Real @.***> wrote:

I DO NOT have the same bug here, I tried to reproduce the issue by changing the DPI settings on my main monitor to 150% DPI on Windows, and moving to my 17'' 1024x768 monitor at 100% DPI, and the window did resize every time I moved it.

Try to look at your DPI settings, also try to right click then "change DPI settings" then "Use this fix" box or/and the "Override high DPI scaling behavior".

💁🏻‍♂️ I have no idea if it will work. But worth a try. If you are not on Windows try something similar.

— Reply to this email directly, view it on GitHub https://github.com/kapitainsky/RcloneBrowser/issues/228#issuecomment-1712699053, or unsubscribe https://github.com/notifications/unsubscribe-auth/ANKFCCGUO2YK3VEMJX23AFTXZUXETANCNFSM6AAAAAA4L6SHUA . You are receiving this because you authored the thread.Message ID: @.***>

-- Trevor BROOKES

sonnysighedup commented 8 months ago

I have the same issue on an Arch-based distro.

Not knowing enough about how Qt window widths are set, the simplest fix I could come up with is to patch src/remote_widget.ui by changing ToolButtonTextBesideIcon to ToolButtonIconOnly in each toolButtonStyle property section for the toolbar items.

The icons display info about what they're about when I hover over them, so while displaying the text besides each icon is nice, it's not completely necessary.