spek icon indicating copy to clipboard operation
spek copied to clipboard

HiDPi support

Open DChannan opened this issue 10 years ago • 6 comments

Spek currently does not scale well on my 3200x1800 laptop screen, causing the frequency values to be cut off (so instead of "10kHz - 12kHz ... 22kHz" I see "0kHz - 2kHz ... 2kHz) as well as the filepath on the top of the screen.

DChannan avatar Jun 07 '14 15:06 DChannan

Same trouble here. I have a 3200x1800 display too, and spek doesn't seem to take the actual font size into account, squeezing it into a fixed space of a predefined size. Check the screenshot for what I mean. Any idea of a possible workaround? Any hints as to where I could edit something in the source files and rebuild? spek

shapirus avatar Jan 12 '16 04:01 shapirus

Apart from the text being clipped, the icons in the toolbar are too small (with Gnome desktop), but the menu bar is scaled correctly.

ruuda avatar Feb 21 '16 13:02 ruuda

I have this same problem and really need it to work

anyone got a workaround??

inigoval avatar Jan 23 '17 14:01 inigoval

The easiest workaround: Use Spek with Wine. Just download the Windows exe, run it in wine. No scaling issues. But yes, I have the same problem, Gnome, no matter if Wayland or X.

plawucht avatar Feb 20 '17 21:02 plawucht

I experience these issues on Windows when using 200% scaling, and would likely experience the same issues under Wine if my prefix is set to 192 dpi instead of the default 96.

kode54 avatar Jul 20 '20 02:07 kode54

Okay, I figured out how to fix this on Linux, at least. The simplest fix ever. You just have to somehow get the build scripts to set the toolkit to wxgtk3 and not wxgtk2. Easy peasy, lemon squeezy.

kode54 avatar Jul 22 '20 08:07 kode54

This should be fixed on master with 5a331f5f923d99060befbf1a90668a507e4e2fa7, the upcoming version 0.8.6 will include the fix.

alexkay avatar Feb 11 '23 23:02 alexkay

Hm, just tried the latest Git version in my Arch, but I can still see the issue happening. The thing is, though, I do remember it working previously when I tried switching from wxgtk2 to wxgtk3. Not sure why it does not work anymore now, though.

mrclayman avatar Oct 20 '23 20:10 mrclayman