<?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>410552</bug_id>
          
          <creation_ts>2019-08-03 21:09:05 +0000</creation_ts>
          <short_desc>A Keyboard Shortcut &apos;V&apos; clashes with Canvas Input Setting &apos;V&apos; + LMB, no warning given</short_desc>
          <delta_ts>2021-03-17 13:17:18 +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>Usability</component>
          <version>nightly build (please specify the git hash!)</version>
          <rep_platform>Debian stable</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>329663</dup_id>
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>NOR</priority>
          <bug_severity>minor</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Ahab Greybeard">ahab.greybeard</reporter>
          <assigned_to name="Krita Bugs">krita-bugs-null</assigned_to>
          <cc>griffinvalley</cc>
    
    <cc>tamtamy.tymona</cc>
          
          <cf_commitlink></cf_commitlink>
          <cf_versionfixedin></cf_versionfixedin>
          <cf_sentryurl></cf_sentryurl>
          <votes>0</votes>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1872753</commentid>
    <comment_count>0</comment_count>
    <who name="Ahab Greybeard">ahab.greybeard</who>
    <bug_when>2019-08-03 21:09:05 +0000</bug_when>
    <thetext>SUMMARY
In the Canvas Input Settings _&gt; Tool Invocation (with the Krita Default profile), &apos;V&apos;+ Left Button is set to activate the Line tool.

In the Keyboard Shortcuts with Default scheme, the &apos;V&apos; key is not used. If the &apos;V&apos; key is then set to activate the Auto Contrast function this will be accepted with no warning given.

After this is done with Auto Contrast, pressing the &apos;V&apos; key while painting will activate the Line tool (which will draw a line sometimes) and also activate the Auto Contrast function. There seems to be a race between the Line tool and the Auto Contrast, Sometimes no line is drawn, sometimes a line is drawn and Auto Contrast is done as well.

I think this happens because Auto Contrast requires no parameter input or &apos;OK&apos; confirmation.

The obvious workaround is not to use the &apos;V&apos; key for a keyboard shortcut.

STEPS TO REPRODUCE
See Summary

OBSERVED RESULT
See Summary

EXPECTED RESULT
I know it&apos;s a strange and rare one but can it (or should it) be prevented from happening?

SOFTWARE/OS VERSIONS
Krita

 Version: 4.3.0-prealpha (git d23d38e)
 Languages: en_GB, en
 Hidpi: true

Qt

  Version (compiled): 5.12.4
  Version (loaded): 5.12.4

OS Information

  Build ABI: x86_64-little_endian-lp64
  Build CPU: x86_64
  CPU: x86_64
  Kernel Type: linux
  Kernel Version: 4.19.0-5-amd64
  Pretty Productname: Debian GNU/Linux 10 (buster)
  Product Type: debian
  Product Version: 10


Hardware Information

  GPU Acceleration: auto
  Memory: 16039 Mb
  Number of Cores: 8
  Swap Location: /tmp

ADDITIONAL INFORMATION</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1881521</commentid>
    <comment_count>1</comment_count>
    <who name="wolthera">griffinvalley</who>
    <bug_when>2019-09-21 16:20:08 +0000</bug_when>
    <thetext>Yeah, we can confirm this, but the main issue is that our cnavas input settings live in a completely different world from the shortcuts.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2016076</commentid>
    <comment_count>2</comment_count>
    <who name="Tiar">tamtamy.tymona</who>
    <bug_when>2021-03-17 13:17:18 +0000</bug_when>
    <thetext>

*** This bug has been marked as a duplicate of bug 329663 ***</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>