<?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>420329</bug_id>
          
          <creation_ts>2020-04-20 09:11:00 +0000</creation_ts>
          <short_desc>Move tool&apos;s Position x/y spinboxes does not move the highlighted object</short_desc>
          <delta_ts>2020-10-29 12:39:49 +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>Tools/Move</component>
          <version>4.2.9</version>
          <rep_platform>Other</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>NOR</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Tyson Tan">tysontanx</reporter>
          <assigned_to name="Krita Bugs">krita-bugs-null</assigned_to>
          <cc>griffinvalley</cc>
    
    <cc>halla</cc>
          
          <cf_commitlink>https://invent.kde.org/graphics/krita/commit/12b3293d4987291e044bd4e52070a7e54f7e73dc</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>1923717</commentid>
    <comment_count>0</comment_count>
    <who name="Tyson Tan">tysontanx</who>
    <bug_when>2020-04-20 09:11:00 +0000</bug_when>
    <thetext>Move tool -&gt; Tool options -&gt; Position
The x/y spinboxes does not move the highlighted object as the reference manual mentioned in:
#: ../../reference_manual/tools/move.rst:40
Gives the top-left coordinate of the layer, can also be manually edited.

Tested:
krita-4.2.9-x86_64.appimage</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1923721</commentid>
    <comment_count>1</comment_count>
    <who name="wolthera">griffinvalley</who>
    <bug_when>2020-04-20 09:26:50 +0000</bug_when>
    <thetext>yeah, noticed this yesterday as well...</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1923735</commentid>
    <comment_count>2</comment_count>
    <who name="Halla Rempt">halla</who>
    <bug_when>2020-04-20 10:21:12 +0000</bug_when>
    <thetext>I must be misunderstanding something? I opened an image with a layer, and changed the values of the x,y spinboxes, and the layer certainly moved for me.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1923756</commentid>
    <comment_count>3</comment_count>
    <who name="Tyson Tan">tysontanx</who>
    <bug_when>2020-04-20 13:21:30 +0000</bug_when>
    <thetext>I cleared kritadisplayrc kritarc kritashortcutsrc and now it worked as intended. It&apos;s not the first time something like this happened though. Another Kubuntu user reported this 3 days before I confirmed it today. 

I used Appimages of 4.2.9, 4.3.0 5.0.0 on my installation, but only integrate one at a time. I also installed 4.2.9 from Manjaro&apos;s repository once but uninstalled it later. I wonder if this has something to do with it?

I&apos;ve noticed that Krita from Manjaro&apos;s official repo has wonky pop-up palette triggering. Move tool&apos;s modifier keys were also completely broken which I didn&apos;t have time to report, but now I&apos;m glad I didn&apos;t because they were fixed after deleting the settings as well. 

Meanwhile please close this bug if needed. If I find more information I will put them here later. Thank you for your time!</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1923758</commentid>
    <comment_count>4</comment_count>
    <who name="Halla Rempt">halla</who>
    <bug_when>2020-04-20 13:41:17 +0000</bug_when>
    <thetext>The wonkiness in the manjaro build of Krita is probably because they haven&apos;t patched Qt. If you&apos;re using 5.0 appimages, please be aware that it&apos;s really unstable. It might make sense to use different XDG environment variables for 4.x and 5.x, to keep the resource folder and configs separate:

export XDG_DATA_HOME=$dev/.share
export XDG_CONFIG_HOME=$dev/.config
export XDG_CACHE_HOME=$dev/.cache</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1969764</commentid>
    <comment_count>5</comment_count>
    <who name="Dmitry Kazakov">dimula73</who>
    <bug_when>2020-10-29 12:21:14 +0000</bug_when>
    <thetext>Git commit efe9ed8c0e5c5211a66919290dcff7e907e48840 by Dmitry Kazakov, on behalf of Mathias Wein.
Committed on 29/10/2020 at 12:20.
Pushed by dkazakov into branch &apos;krita/4.3&apos;.

Fix malfunction of x/y position spin boxes in move tool&apos;s options

The signal connections had to be moved from the constructor to
activate(), since they get disconnected on every deactivate().

Also, manipulating the x or y position without clicking on the canvas first
doubled the initial value, because a new stroke gets created, which in turn
resets the handle rect.
Reading the value before starting the stroke and making sure it&apos;s not
currently unavailable until recalculated should prevent it.
Related: bug 423452

M  +23   -10   plugins/tools/basictools/kis_tool_move.cc

https://invent.kde.org/graphics/krita/commit/efe9ed8c0e5c5211a66919290dcff7e907e48840</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1969766</commentid>
    <comment_count>6</comment_count>
    <who name="Dmitry Kazakov">dimula73</who>
    <bug_when>2020-10-29 12:22:37 +0000</bug_when>
    <thetext>Git commit 12b3293d4987291e044bd4e52070a7e54f7e73dc by Dmitry Kazakov, on behalf of Mathias Wein.
Committed on 29/10/2020 at 11:37.
Pushed by dkazakov into branch &apos;master&apos;.

Fix malfunction of x/y position spin boxes in move tool&apos;s options

The signal connections had to be moved from the constructor to
activate(), since they get disconnected on every deactivate().

Also, manipulating the x or y position without clicking on the canvas first
doubled the initial value, because a new stroke gets created, which in turn
resets the handle rect.
Reading the value before starting the stroke and making sure it&apos;s not
currently unavailable until recalculated should prevent it.
Related: bug 423452

M  +23   -10   plugins/tools/basictools/kis_tool_move.cc

https://invent.kde.org/graphics/krita/commit/12b3293d4987291e044bd4e52070a7e54f7e73dc</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1969774</commentid>
    <comment_count>7</comment_count>
    <who name="Tyson Tan">tysontanx</who>
    <bug_when>2020-10-29 12:39:49 +0000</bug_when>
    <thetext>Thank you, Dmitry! :D</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>