8bitPit / Niagara-Issues

A place to submit feature requests and bug reports for Niagara Launcher, a modern + minimalist Android home screen optimized for one-✋ access and staying focused.
http://niagaralauncher.app
858 stars 41 forks source link

Apps shifted to the right after returning from landscape lockscreen camera #2144

Open Justus-D opened 1 year ago

Justus-D commented 1 year ago

Describe the bug

I noticed that the the apps on the home screen shift to the right when unlocking the phone after being in the camera app in landscape mode.

Steps to reproduce

The setup:

Steps to reproduce:

  1. Home screen looks normal (see screenshot)
  2. Lock phone
  3. Open the camera app
  4. Turn the phone to landscape orientation
  5. Press the home button while in landscape
  6. Unlock phone (I used fingerprint unlock, if it matters)
  7. Home screen is shifted to right

Does the issue also occur with other 3rd-party launchers?

Problem doesn't occur with other launchers

Other 3rd-party launcher(s) tested

No response

Device name

Samsung Galaxy S10

Android version

Android 12

Screenshots / Screen recordings

How it should look: Niagara_SOLL

How it looks after unlocking from landscape camera: Niagara_IST

Amorphous404 commented 1 year ago

This is a known bug, On few devices minimizing an app from landscape mode cause this shifting issue, not sure if the devs found the fix for it

For now can you enable the Allow homescreen rotation from "Niagara settings>Features>Allow Homescreen rotation" and see if that helps you fix the issue.

Amorphous404 commented 1 year ago

Just posting @8bitPit reply on Discord, incase it helps

Hey, thanks a lot for reporting! This is caused by our landscape mode (screen held sideways). In landscape mode, we add padding to the left side, so the app list doesn't get occluded by your phone's notch or hole punch camera. We don't know why but Niagara Launcher thinks your phone is rotated in landscape mode even though you're not. To work around this, you can open Niagara's search and close it. Opening search makes the keyboard appear, which causes our paddings to be refreshed. We haven't found what's causing the bug, so please let us know if you notice any patterns when it occurs to help us track it down.

Source Link: https://discord.com/channels/728630549278883950/1031991205703204885

Justus-D commented 1 year ago

Thanks for the workaround. Until now I just restarted the Launcher from the Niagara settings. But the search-workaround works much better. Of course it would be better if fixed, but for now the workaround is fine.

DavidF-Dev commented 1 year ago

Still experiencing this issue on my Galaxy S10E.

Opening search fixes it! Thanks for the tip. I was restarting the launcher to fix it prior.

It seems to occur after using the camera in landscape whilst the phone is locked. Upon unlocking the phone the launcher icons are shifted to the right. Opening the camera from the launcher (either via the app icon or double-clicking the lock button), using it in landscape, then returning back to the launcher does not cause the icons to shift.

Happy to provide more info if needed. 👍