Cubicsdr: Scaling and mouse cursor

Created on 7 May 2019  路  10Comments  路  Source: cjcliffe/CubicSDR

For some reason on my system Cubic is not scaling the waterfall images and other GUI elements with the rest of the window. Here is a screenshot:

Screenshot from 2019-05-07 10-47-47

It wouldn't be so bad if it didn't also think the mouse cursor is to the left of where it actually is. As suggested elsewhere here I also installed wxWidgets 3.1.2 but unfortunately it had no effect, unless it requires a reboot or something.

Linux

Most helpful comment

Just realized that I have a Hidpi (4k) display and I had the ubuntu desktop display scaling set to 200%. I set it back to 100% and, although tiny, the UI of CubicSDR renders correctly and the mouse clicks are in the right places. I suspect the system-rendered bits of the interface respect the scaling but the opengl bits don't.

All 10 comments

I think it would help in determining what caused this if you could specify the operating system and how you installed CubicSDR (appimage vs from source)

I'm seeing the same thing. I built it on ubuntu 18.10 using the instructions from https://github.com/cjcliffe/CubicSDR/wiki/Build-Linux.

Each individual GL-rendered part of the screen is rendered at half scale but the mouse cursor interaction is happening at full scale within each window.

And this happens on my Dell XPS 9560 with both the integrated Intel video hardware or the discrete nvidia hardware.

OS is Mint using the appimage

Just realized that I have a Hidpi (4k) display and I had the ubuntu desktop display scaling set to 200%. I set it back to 100% and, although tiny, the UI of CubicSDR renders correctly and the mouse clicks are in the right places. I suspect the system-rendered bits of the interface respect the scaling but the opengl bits don't.

The same thing happens on my system. Setting the User interface scaling to anything other than normal will cause this. I think I'm going to stick to Gqrx for now.

same trouble on macOS. tried latest wxwidgets from master and a few patches (PR) for HiDPI without success.

Hello Linux users, could you please test PR #769 and report if it solves your issues, thanks.

you should try https://github.com/cjcliffe/CubicSDR/pull/769 that fix font also (to enable use -DUSE_OSX_RETINA=1)

So how do I apply a patch?

I downloaded CubicSDR 0.2.6a from the SDRPlay web site.

I don't want or know how to patch /compile.

Where can I get the executable file from to test?

Was this page helpful?
0 / 5 - 0 ratings

Related issues

cjcliffe picture cjcliffe  路  5Comments

romeojulietthotel picture romeojulietthotel  路  5Comments

iglooxpp picture iglooxpp  路  5Comments

leeguang517 picture leeguang517  路  6Comments

hhrhhr picture hhrhhr  路  5Comments