Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bigger icons please? #1177

Open
thany opened this issue Oct 31, 2018 · 18 comments
Open

Bigger icons please? #1177

thany opened this issue Oct 31, 2018 · 18 comments

Comments

@thany
Copy link

thany commented Oct 31, 2018

It would be helpful to have slightly bigger icons. See screenshot:
screenshot

Please note that these icons may appear physically smaller for me than they do for you.
The icons in the menu and tabs suffer the same problem, although the problem isn't as bad because I can read.

This is on Windows 10 x64 on a Dell XPS15 with 4K screen. That's probably the most important bit to know. I'm also on TRGUI 5.15.4 and daemon 2.94.

@antekgla
Copy link
Contributor

antekgla commented Nov 1, 2018

Menu: View --> Big Toolbar
o Right Click over Toolbar.

See #889 and #1094

@thany
Copy link
Author

thany commented Nov 1, 2018

That fixes the toolbar, but:

  • Why can this not be done automatically? Screen DPI is not a hidden setting at all. Most applications scale well, without having to set anything manually.
  • What if the screen DPI is só high that even "Big Toolbar" is too small? (there are 13" laptops with 4K screens...)
  • This doesn't fix the tabs, nor the menu. The items themselves are fine, but the icons are so small they might as well not be there.

@leonsoft-kras
Copy link
Contributor

It's simple. Not all programmers have screens with high DPI.

@thany
Copy link
Author

thany commented Nov 2, 2018

That is irrelevant to this issue, iyam.

@leonsoft-kras
Copy link
Contributor

Suggest how to modify the code correctly. Welcome.

@thany
Copy link
Author

thany commented Nov 5, 2018

All UI components appear to scale with the DPI already, and if I'm not mistaken, the OS is doing that automatically (right?). A button with a fixed 16x16 image might be programmed to stick with exactly 16x16 physical pixels. Physical pixels on my screen are absolutely tiny. I guess you could say it might be the equivalent of 6x6 on a "normal" screen.

I suppose that anti-scaling behaviour oughta be removed. To make the icons not look blurry, add bigger icons to accomodate for the automatically growing buttons with HDPI.

Best bet is to use vector icons, but on native win32 application I realize that might be far fetched. So many programs choose to include very high resolution icons, like 64x64 or even more.

@k0ste
Copy link
Contributor

k0ste commented May 1, 2019

Anybody fixed issue with small icons and checkbox in GTK version?

Selection_001

@k0ste
Copy link
Contributor

k0ste commented May 1, 2019

Nevermind, transgui is supported build with QT5 and scaled flawless automatically.

I just reduced text scaling to 80%, only one issue I see is a status bar, but is nothing.
Selection_001

@leonsoft-kras
Copy link
Contributor

There are almost no enthusiasts for Linux. If you find a solution, let us know.

@k0ste
Copy link
Contributor

k0ste commented May 2, 2019

I can live with this. All other elements scaled perfect.

@thany
Copy link
Author

thany commented Oct 24, 2019

There are still a couple of problems to be found in the current version (5.18 as of writing this).
Capture
I highlighted them in the screenshot above.

This is on a 15 inch 4K screen set to 250% zoom. This problem is worse on my other laptop, which has a 13 inch 4K screen set to 300% zoom.

As you can see, I have already enabled "big toolbar", but that's only moving the problem to the future. It appears to display double-sized icons in the toolbar, but screens are likely to get higher and higher resolutions in the future. So it is a workable solution for now, when your zoom level is around-or-about 200%. But in the future 300-400% might become more common.

Idea: is it not possible to use vector icons? Many website do this, so maybe regular programs can do it too? Otherwise include high-res icons (say, 256x256) and scale them down to however big they need to be at the defined zoom level.

@k0ste
Copy link
Contributor

k0ste commented Oct 25, 2019

Now connection string is fixed in 5.18.
Icons question is still open.
2019-10-25_09-25

@thany
Copy link
Author

thany commented Oct 28, 2019

@k0ste So for you the icons are doubled up pixel by pixel. That doesn't happen for me. It's kind of a lazy workaround, but at least it makes the icons somewhat recognizable, especially on very-high DPI screens like mine.
Is there a setting that does that icon doubling for you?

@k0ste
Copy link
Contributor

k0ste commented Oct 29, 2019

@thany I don't think my icons are doubled. If that - I was not add special options for transgui. Just 300% scaling in Gnome.

@thany
Copy link
Author

thany commented Oct 29, 2019

@thany I don't think my icons are doubled. If that - I was not add special options for transgui. Just 300% scaling in Gnome.

I looked at your screenshot on a normal-DPI monitor and clearly saw your icons doubled in size. And as you can see in my screenshot, my icons are a lot smaller.

So something weird is going on. I assume the application draws icons, not the OS. Still, zooming to 300% causes 200% for the icons, but only on Linux. This seems dangerously arbitrary to me. Dangerous in the sense that fixing it for one OS might break it in another.

@k0ste
Copy link
Contributor

k0ste commented Oct 30, 2019

So something weird is going on. I assume the application draws icons, not the OS.

Application use frameworks for work with GUI or CLI (like ncurses lib) interfaces. This allow to possibility to run on different OS'es, like transgui can be compiled for Mac, Windows and Linux. You can compile it with QT or GTK support and with this feature application can be faster (because X server/Wayland and ENV Manager will be used less) and looks like stock application.

@thany
Copy link
Author

thany commented Oct 30, 2019

Okay. I'm not certain which of Qt or GTK the Windows version uses, but there is a significant difference in icon drawing between it and the Linux version, apparently.

@aleqcz
Copy link

aleqcz commented Jan 5, 2022

I have the very same issue as @thany on Windows

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

5 participants