Open h0tc0d3 opened 2 years ago
I recall being able to fatten buttons via Gtk theme. Also upscaling button images does the trick There is buildable Gtk3 branch, but it is not an option, because its GLArea doesn't support compatibility profile, while rendering code is mostly ogl 1.1 I'm trying Qt now, it's HiDPI aware, idk though which steps are required to have it functioning.
Qt has arrived https://github.com/Garux/netradiant-custom/commit/9d3d2040182af8284fe9c6fdf26950cfa738c4f2, something is following DPI, something is not (windows)
@Garux that's great news, I'll go check on my linux.
It looks very good. But there is a bug, I see my desktop wallpaper. And the workspaces didn't scale correctly.
Another error: "QBasicTimer::start: QBasicTimer can only be used with threads started with QThread"
Viewports bug is either wayland or scaling. Scaling + no wayland in ubuntu: Your screenshot looks as if pplication is scaled as a whole. Must be QOpenGLWidget issue, can't google it though.
Timer issue source is unkown either, as radiant itself is only using single thread. Does it happen after any specific actions?
Yes, it's a wayland. At the moment I can not reproduce the error. core dump was without debug information.
QT_QPA_PLATFORM=wayland
QT_SCALE_FACTOR=1
in sway config
output * scale 2
Viewports scaling problem is likely fixed here https://github.com/Garux/netradiant-custom/commit/15ca7060372cb782be3e1afd7f95cba8926d8ac2 As for wayland, there are many unsolvable issues seemingly, as no pointer warp, no widget grab, no glClear.
@Garux Thanks.
Solution of wayland issues is to use xwayland by running as QT_QPA_PLATFORM=xcb ./radiant.x86_64
gtk2 has issues with HiDPI and toolbar icons are small. It would be nice to add an icons size in the interface settings. Or switch gtk2 to gtk3. I tried to change the size of the icons, but it didn't work for me. It would be nice if someone solved this problem or helped me with it. Thank you!