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

[SXMO] Gestures and volume keys broken when returning from sleep in rotated screen mode #637

Open
idrilirdi opened this issue May 21, 2024 · 2 comments
Labels
bug Something isn't working ui: sxmo SXMO by sxmo.org

Comments

@idrilirdi
Copy link

Device info (please complete the following information)

  • Device: PinePhone
  • Kernel Version : 6.7.7-1-danctnix
  • UI: SXMO

Describe the bug
I'm using the pinephone keyboard, so I want to keep my screen's orientation landscape. If the phone goes to sleep while in this mode, on return gestures stop working and the volume keys work as volume keys instead of opening the menus. Sometimes it starts working again after a few tries, other times SXMO crashes (goes to sleep again) and the only way to go back to normal is to hard reboot the phone.

To Reproduce
Steps to reproduce the behavior:

  1. Rotate the screen to landscape through the settings menu.
  2. Make the phone enter sleep (either by waiting or through power options).
  3. Wake the phone from sleep.
  4. Try to use the gestures or the volume keys.

Expected behavior
SXMO should work as normal

Before submitting a bug report, please be sure that you have done the following:

  • [ X ] I have checked for updates (pacman -Syu) and installed the updates but the problem persisted.
  • [ X ] I am not using Megi's multiboot image, which is unsupported by the developer.
@idrilirdi idrilirdi added the bug Something isn't working label May 21, 2024
@Danct12 Danct12 added the ui: sxmo SXMO by sxmo.org label May 25, 2024
@ArenM
Copy link
Contributor

ArenM commented Jun 4, 2024

Does this also happen when you leave the phone in portrait mode, or is it something specific to rotating the screen?

the volume keys work as volume keys instead of opening the menus

This sounds like the butt dial prevention system, you need to press the power button twice to bring it back to a interactive state from the screen being off.

@idrilirdi
Copy link
Author

idrilirdi commented Jun 6, 2024

Does this also happen when you leave the phone in portrait mode, or is it something specific to rotating the screen?

the volume keys work as volume keys instead of opening the menus

This sounds like the butt dial prevention system, you need to press the power button twice to bring it back to a interactive state from the screen being off.

This seems to be definitely the case! I had not come upon this feature while reading about SXMO nor accidentally stumble on it during my daily use of the phone these weeks, thanks. Double pressing the power button indeed brings it back from sleep in the correct state. Same for the portrait mode, but the behavior is slightly different (which is why I probably thought that was fine, didn't use it too long):

  • Landscape:

    1. Power button makes it go to sleep
    2. Power button turns the screen back on but in the non-interactive state
    3. Power button makes it go back to sleep
    4. Double clicking the power button turns the screen back on in an interactive state
  • Portrait:

    1. Power button makes it go to sleep
    2. Power button turns the screen back on but in the non-interactive state
    3. Power button makes it go to interactive state
    4. Power button turns the screen off
      In portrait you can also do steps 2 and 3 as a double click and it works

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working ui: sxmo SXMO by sxmo.org
Projects
None yet
Development

No branches or pull requests

3 participants