Bug 512450 - [5.3, Android] The placement of the floating Selection Actions Bar can't be changed via touch
Summary: [5.3, Android] The placement of the floating Selection Actions Bar can't be c...
Status: RESOLVED FIXED
Alias: None
Product: krita
Classification: Applications
Component: Tools/Selection (other bugs)
Version First Reported In: nightly build (please specify the git hash!)
Platform: Android Android 14.x
: NOR normal
Target Milestone: ---
Assignee: Krita Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-11-21 22:12 UTC by Door1
Modified: 2025-12-08 09:41 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Door1 2025-11-21 22:12:17 UTC
SUMMARY
[5.3, Android] The placement of the floating Selection Actions Bar can't be changed via touch

STEPS TO REPRODUCE
1. Make a selection to show the floating Selection Actions Bar
2. Using your finger, drag the right-most icon to attempt to move the action bar

OBSERVED RESULT
The bar does not move.

EXPECTED RESULT
The bar should move.

You will also notice that the correct behavior happens when dragging with a mouse. The problem happens when dragging with a finger on the screen. 

SOFTWARE/OS VERSIONS
Krita 5.3 nightly (git edefd69 / edefd699)
(November 19, 2025)
Android 15
arm64
Comment 1 Dmitry Kazakov 2025-12-08 09:41:10 UTC
Git commit 6f69fbe3d97b9a70bed21e46154432e410870702 by Dmitry Kazakov, on behalf of Carsten Hartenfels.
Committed on 08/12/2025 at 09:40.
Pushed by dkazakov into branch 'master'.

Make selection action bar act propertly on touch

By rewriting the event handling to not cast random other event types to
QMouseEvent and activating the buttons from the weird event filter. This
also makes the bar not draggable on its buttons.
Related: bug 512449

M  +151  -40   libs/ui/kis_selection_actions_panel.cpp
M  +10   -0    libs/ui/kis_selection_actions_panel.h

https://invent.kde.org/graphics/krita/-/commit/6f69fbe3d97b9a70bed21e46154432e410870702