Bug 513951 - Android: Floating dockers may go off the screen when orientation changes
Summary: Android: Floating dockers may go off the screen when orientation changes
Status: RESOLVED NOT A BUG
Alias: None
Product: krita
Classification: Applications
Component: Dockers (other bugs)
Version First Reported In: 5.2.14
Platform: Android Other
: NOR normal
Target Milestone: ---
Assignee: Krita Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-12-29 15:03 UTC by Le Dat
Modified: 2025-12-29 15:41 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments
Video showing the bug in action (1.15 MB, video/mp4)
2025-12-29 15:03 UTC, Le Dat
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Le Dat 2025-12-29 15:03:24 UTC
Created attachment 188062 [details]
Video showing the bug in action

SUMMARY
On Android, if you have floating dockers near the right side of the screen in landscape and rotate the screen, those dockers will go off the screen. Krita still show them as opened in the "Show docker" menu, hide and reshow won't help bring them back. When rotating back to the original position, the dockers returns.

Tested with Krita 5.2.14, Krita Next nightly 28/12/2025 ff1d7054

STEPS TO REPRODUCE
1.  Have a floating docker near the right side of the screen in landscape mode
2.  Rotate the device to portrait

OBSERVED RESULT
The docker disappeared!

EXPECTED RESULT
The docker not disappear

SOFTWARE/OS VERSIONS
Android 15
Qt Version: 5 

ADDITIONAL INFORMATION
Samsung S10 FE 8/128GB
Comment 1 dra.w.p.il.e+bugskde 2025-12-29 15:41:57 UTC
Expected behavior, not a bug. "Fixing" it by moving the dock back to the would mean that we mess up the user's layout when they rotate the screen back and forth.

Being able to attach a floating dock  to the edge of the canvas/screen or automatically switching layouts for different screen orientations would solve the desire of keeping a floating dock in place, but those would be new features.