<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.kde.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugs.kde.org/"
          
          maintainer="sysadmin@kde.org"
>

    <bug>
          <bug_id>510229</bug_id>
          
          <creation_ts>2025-10-04 13:47:59 +0000</creation_ts>
          <short_desc>In Android, a long press registers as a right-click.</short_desc>
          <delta_ts>2025-10-07 02:11:09 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>2</classification_id>
          <classification>Applications</classification>
          <product>krita</product>
          <component>Shortcuts and Canvas Input Settings</component>
          <version>5.2.13</version>
          <rep_platform>Android</rep_platform>
          <op_sys>Android 14.x</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>triaged</keywords>
          <priority>NOR</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>hana203887</reporter>
          <assigned_to name="Krita Bugs">krita-bugs-null</assigned_to>
          <cc>dra.w.p.il.e+bugskde</cc>
          
          <cf_commitlink>228c6e0795cc6444864f228cc56e40ee74d215a7</cf_commitlink>
          <cf_versionfixedin>5.2.14</cf_versionfixedin>
          <cf_sentryurl></cf_sentryurl>
          <votes>0</votes>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>2459528</commentid>
    <comment_count>0</comment_count>
    <who name="">hana203887</who>
    <bug_when>2025-10-04 13:47:59 +0000</bug_when>
    <thetext>SUMMARY
In Android Krita, a long press registers as a right-click.

STEPS TO REPRODUCE
1. Using a stylus (Wacom Pro Pen 3/tablet included) or finger, touch the colour picker, layer opacity slider, canvas scroll bar, etc.
2. Keep touching without lifting and move very slowly.

OBSERVED RESULT
After approximately 0.3 seconds, a right-click is triggered, releasing the held element.
For the colour picker, this confirms the selected colour. For layer opacity, it opens the numerical input screen. For scroll bars, the right-click menu appears.

EXPECTED RESULT
The held element should remain movable during the press.

SOFTWARE/OS VERSIONS
Android version: Android 14
Devices: Wacom MovinkPad 11

ADDITIONAL INFORMATION
This was discussed in the following thread↓
https://krita-artists.org/t/krita-android-pop-up-pallette-disappearing-too-quickly-while-trying-to-select-color/114343/16</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2459537</commentid>
    <comment_count>1</comment_count>
    <who name="">dra.w.p.il.e+bugskde</who>
    <bug_when>2025-10-04 15:12:28 +0000</bug_when>
    <thetext>Sort of related to Bug 506042. Krita sets QT_ANDROID_ENABLE_RIGHT_MOUSE_FROM_LONG_PRESS, which causes the described behavior.

I&apos;m increasingly thinking that this right-click emulation is the wrong solution. What a long-press should do is summon a context menu on appropriate widgets, not issue a right-click. indiscriminately Will ask in the K-A thread if there is other cases I&apos;m not thinking of here that would break if this were changed (assuming it&apos;s possible.)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2460008</commentid>
    <comment_count>2</comment_count>
    <who name="">dra.w.p.il.e+bugskde</who>
    <bug_when>2025-10-07 02:11:09 +0000</bug_when>
    <thetext>Resolved by making long-presses open context menus directly instead of issuing a right-click, making sliders no longer enter edit mode when holding still on them (that now happens on double-clicks instead) and disregarding scroll bars as a thing you can long-press on, among other things that never have a useful context menu assigned to them.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>