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

(Request) mobile interface #103

Open
alphafox02 opened this issue Nov 7, 2021 · 8 comments
Open

(Request) mobile interface #103

alphafox02 opened this issue Nov 7, 2021 · 8 comments

Comments

@alphafox02
Copy link

More of something I thought I’d share, but if there’s a way to make the interface more user friendly on a mobile device that’d be great.

Here’s qradiolink running on Mobian on my PinePhone.
C7069C87-C2D5-4416-AC07-4A5276CAF613

@kantooon
Copy link
Collaborator

kantooon commented Nov 7, 2021

Indeed I do intend to work on some UI widgets for Plasma Mobile. Can't say how soon though, but it's on my list. I think it's more likely to be an external application using the remote command API.

@alphafox02
Copy link
Author

That’d be great. I was rotating and doing everything I could to get to some of the buttons. Maybe if I had just plugged a mouse in I could’ve blindly clicked on the rx button. You mention the remote command api - maybe I need to look into that.

@kantooon
Copy link
Collaborator

kantooon commented Nov 8, 2021

@alphafox02 I'm not sure what sort of resoluton your device supports, but there are two entries in the config file ~/.config/qradiolink/qradiolink.cfg that you can play with: window_height and window_width.
Here is an example window configuration where UI elements are still shown correctly:
window_width = 1390;
window_height = 880;

The height is not crucial, at most you'll lose some pixels in the spectrum display, but the width needs to accomodate the lower control elements.
Let me know if this helps.

@alphafox02
Copy link
Author

To follow up, I can change the resolution manually in the config file. The problem is that when I open it the settings are somehow reset to 720/288 (I check the config file after closing). I'll keep trying various settings and see if any resolution combination sticks.

@kantooon
Copy link
Collaborator

It looks like the window manager is automatically resizing the window to a resolution that it thinks it supports (which is probably way lower then what the phone actually supports).

I'm currently working on LimeRFE device support but after I'm done with that I'll take a look at the issues with KDE Plasma Mobile and see if I can do anything about it without actually writing new GUI code.

@kantooon
Copy link
Collaborator

@alphafox02 it looks ok on KDE Plasma Mobile if screen is scaled to 100%

pine1_resize.mp4

Pinephone, OpenSUSE Tumbleweed, ADALM-Pluto. I'm using Martin Hauke's packages from hardware:sdr
The controls are very small though, almost unusable on the touchscreen at this resolution.

@alphafox02
Copy link
Author

That’s awesome. I’ll try again on my end. The screen scaling was a setting in that OS itself?

@kantooon
Copy link
Collaborator

Yes, it's a control in display settings. In Opensuse's KDE it's set to 200% by default which halves th effective resolution.
But I wouldn't bother with it just yet. It eats through the battery at a scary pace and the controls are barely usable. There's clearly a need for a new UI, as well as some improvements for CPU eficiency. volk_profile didn't seem to do it's usual magic there.

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

No branches or pull requests

2 participants