Stellarium / stellarium

Stellarium is a free GPL software which renders realistic skies in real time with OpenGL. It is available for Linux/Unix, Windows and macOS. With Stellarium, you really see what you can see with your eyes, binoculars or a small telescope.
https://stellarium.org
GNU General Public License v2.0
7.51k stars 812 forks source link

[0.21.3] UI is hard to use on a small screen, i.e. PinePhone (Linux-based phone). Borrow the UI adjustments of Android version? #2226

Open mikebdp2 opened 2 years ago

mikebdp2 commented 2 years ago

Currently it's really hard to use Stellarium on small screens. I have to constantly rotate Pinephone between portrait and landscape modes to see more stuff, but even in this way - many of UI buttons/info can't be accessed!

Steps to reproduce:

1) Install Stellarium on Pinephone, i.e. on Alpine-based PostmarketOS: sudo apk add stellarium - package built using this APKBUILD recipe https://gitlab.alpinelinux.org/alpine/aports/-/blob/master/community/stellarium/APKBUILD Alternatively, install Stellarium to a virtual machine with a low screen resolution like 720x360.

2) Open Stellarium, try to use it and feel the pain :stuck_out_tongue:

Stellarium has an Android version; would be nice if UI adjustments can be borrowed from there - without sacrificing any features.

github-actions[bot] commented 2 years ago

Thanks for adding your first issue to Stellarium. If you have questions, please do not hesitate to contact us.

gzotti commented 2 years ago

There is a reason why Stellarium is a desktop planetarium: Its GUI is unsuited for mobile screens.

github-actions[bot] commented 2 years ago

We have a strong reason not to do it! Some reasons for it in the FAQ: https://github.com/Stellarium/stellarium/wiki/FAQ#Why_dont_you_implement

mikebdp2 commented 2 years ago

@gzotti

There is a reason why Stellarium is a desktop planetarium: It is unsuited for mobile screens.

There's a Stellarium build for the proprietary Android phones, which seems to be more usable. It would be nice if the users of opensource mobile Linux could have a better user experience with Stellarium. I don't propose any radical UI changes: just the better UI scaling / adjustment for a small screen, could improve the things significantly

gzotti commented 2 years ago

@alex-w Why classify as "Won't fix" and add to todo? There are several attempts of creating APKs of the desktop version. All are problematic because of GUI requirements.

@mikebdp2 Your proposal is just that. Radical changes to the UI to which you are cordially invited to contribute. IMHO for mobile devices we need a GUI rewrite.

alex-w commented 2 years ago

There's a Stellarium build for the proprietary Android phones, which seems to be more usable. It would be nice if the users of opensource mobile Linux could have a better user experience with Stellarium. I don't propose any radical UI changes: just the better UI scaling / adjustment for a small screen, could improve the things significantly

You may implement small UI and propose pull request (hint: STELLARIUM_GUI_MODE option in cmake files ;) )

alex-w commented 2 years ago

@alex-w Why classify as "Won't fix" and add to todo? There are several attempts of creating APKs of the desktop version. All are problematic because of GUI requirements.

Because I didn't added "empty" card for projects :-/

Jocelyn1109 commented 2 years ago

Hi @mikebdp2 . Indeed there is an android version of Stellarium which implies that it works on all devices running Android. Stellarium is easily usable on a tablet and I use it for my observations. But the smaller the screen (like oon smartphone), the more difficult it will be to use it and that we can't do anything about it. In any computer application there are logical restrictions :)

Jocelyn

github-actions[bot] commented 2 years ago

This is a good task for the community to participate in the contribution into Stellarium. Who wants to help us?

github-actions[bot] commented 2 years ago

Hello @mikebdp2! This has become active again.

lm2lm2 commented 3 weeks ago

https://github.com/Stellarium/stellarium/issues/3850

would be very great!!! kids are awaiting to welcome it ;)

gzotti commented 3 weeks ago

There was a mobile version forked from around V0.12 or so. This seems no longer to be maintained. The later Android versions are independent/unrelated code.

The core team here maintains and enhances the desktop version, with real keyboards, usually a mouse, and real-size monitors as output devices. Some people have made forks to compile for Android. All (the 2-3 I have tried) suffer from commonly too small target screens and not making a proper Android UI. None have contributed a successful PR. You can wait forever, or just do it. And then contribute a working pull request with code that does not break the desktop version.