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

Folding the screen to use a single screen issues. #127

Open
9 tasks done
zohim1608 opened this issue Dec 12, 2024 · 6 comments
Open
9 tasks done

Folding the screen to use a single screen issues. #127

zohim1608 opened this issue Dec 12, 2024 · 6 comments

Comments

@zohim1608
Copy link

zohim1608 commented Dec 12, 2024

Acknowledgements

  • I have chosen an appropriate title.
  • All requested information has been provided properly.
  • This is not a feature request.
  • This issue is not a duplicate of an existing issue.
  • The issue is solely related to this GSI.
  • This issue occurs with the latest available build.
  • I am not running a custom vendor on my device.
  • This issue is not kernel related.
  • This issue is not related to Magisk/KernelSU/APatch.

Info

  • Device: Duo 1
  • GSI version: Android 15 (well this is android version i guess)
  • Vendor version:(idk how to check)
  • I am on the latest current build thats available.

Expected Behavior

When I fold the phone to use one screen it should work and display what it needs to and if I flip to the other screen it should go to that one straight away. The main home screen should also be how I left it when I then unfold it again.

Current Behavior

When I fold the duo to use a single screen it is black and the screen that is at the back is the one on, not the screen I can see, when I flip the phone it just swaps and the screen I can see is always black. It takes a lot of tries and messing about to get the screen I can see to be the one that works. Also when I go back into unfolded mode two apps from my task bar on the home screen disappear and I have to re add them every time i fold and unfold the phone.

Possible Solution

No response

Steps to Reproduce

  1. Fold the phone to use one screen
  2. Flip to the other screen
  3. Unfold back to double screen

Logs

No response

Additional context

No response

@zohim1608
Copy link
Author

I would like to add that today folding the phone to one screen completely reset my home screen layout

@Ethanol10
Copy link
Contributor

I think the first part of your description is the same issue found in your previous issue: #124

I was experiencing the same issue with the setting set to Dynamic, as the Posture state would get confused when the screen was flipped. This might be due to how the reading is collected during the fold, which can be ambiguous to interpret from the device's perspective.

For now if you feel like you prioritise using a specific screen every time you open and fold to use a single screen, consider using the Left/Right setting instead of dynamic. However, this issue will persist until we can figure out a better way for dynamic to register appropriately.

@Ethanol10
Copy link
Contributor

@Archfx maybe we need to disable the posture change when folded, similar to Stock 12L. When folded, at the moment of change the sensor is read, it sets the screen to display on, and from there the screen will not change beyond that until the screen has unfolded, and folded back to single screen postures again.

@zohim1608
Copy link
Author

And do you know anything about it resetting the homescreen too and removing my apps from it when I do the same thing?

@Ethanol10
Copy link
Contributor

No, Sadly that's still a continuing issue I have no solution for right now

@Archfx
Copy link
Owner

Archfx commented Dec 14, 2024

@Archfx maybe we need to disable the posture change when folded, similar to Stock 12L. When folded, at the moment of change the sensor is read, it sets the screen to display on, and from there the screen will not change beyond that until the screen has unfolded, and folded back to single screen postures again.

It is a good idea. I also have trouble during extended periods of folded usage, suddenly it switches to dual panel mode without any change.

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

3 participants