<?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>444816</bug_id>
          
          <creation_ts>2021-11-02 10:07:09 +0000</creation_ts>
          <short_desc>Task manager open entries jump around when pinned apps are moved in the &apos;Task Manager&apos; with &quot;Keep launchers separate&quot; option unchecked</short_desc>
          <delta_ts>2022-12-23 19:36:08 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>4</classification_id>
          <classification>Plasma</classification>
          <product>plasmashell</product>
          <component>Task Manager and Icons-Only Task Manager widgets</component>
          <version>5.23.2</version>
          <rep_platform>Neon</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>LO</priority>
          <bug_severity>minor</bug_severity>
          <target_milestone>1.0</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="strangequark">random1123581321</reporter>
          <assigned_to name="Eike Hein">hein</assigned_to>
          <cc>nate</cc>
    
    <cc>p.r.worrall</cc>
    
    <cc>plasma-bugs-null</cc>
    
    <cc>qydwhotmail</cc>
          
          <cf_commitlink>https://invent.kde.org/plasma/plasma-workspace/commit/a85eaedaaea1eb5acac45fab1d304a5d2a8dbc93</cf_commitlink>
          <cf_versionfixedin>5.27</cf_versionfixedin>
          <cf_sentryurl></cf_sentryurl>
          <votes>0</votes>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>2074171</commentid>
    <comment_count>0</comment_count>
    <who name="strangequark">random1123581321</who>
    <bug_when>2021-11-02 10:07:09 +0000</bug_when>
    <thetext>SUMMARY
All the open apps bunch up on the left in a certain configuration (see steps) when any other pinned app is moved

STEPS TO REPRODUCE
1. Enable Task Manager panel (with the app names also displayed) (right click on panel &gt; Show Alternatives &gt; Task Manager)
2. Disable Task Manager setting &apos;Keep launchers separate&apos; (Right click on Task Manager &gt; Configure &gt; Behavior &gt; disable Keep launchers separate)
3. Open a couple of apps, and try to move any pinned app that is not open.

OBSERVED RESULT
All the opened apps jump to the start of the taskbar

EXPECTED RESULT
They should stay where they are

SOFTWARE/OS VERSIONS
Operating System: KDE neon 5.23
KDE Plasma Version: 5.23.2
KDE Frameworks Version: 5.87.0
Qt Version: 5.15.3
Kernel Version: 5.11.0-38-generic (64-bit)
Graphics Platform: X11
Processors: 4 × Intel® Core™ i5-7200U CPU @ 2.50GHz
Memory: 7.5 GiB of RAM
Graphics Processor: Mesa Intel® HD Graphics 620

ADDITIONAL INFORMATION
none</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2075934</commentid>
    <comment_count>1</comment_count>
    <who name="Nate Graham">nate</who>
    <bug_when>2021-11-08 18:02:44 +0000</bug_when>
    <thetext>Affects a non-default option of a non-default applet; lowering priority.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2133634</commentid>
    <comment_count>2</comment_count>
    <who name="Fushan Wen">qydwhotmail</who>
    <bug_when>2022-06-22 06:39:51 +0000</bug_when>
    <thetext>https://invent.kde.org/plasma/plasma-workspace/-/merge_requests/1685</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2134097</commentid>
    <comment_count>3</comment_count>
    <who name="Nate Graham">nate</who>
    <bug_when>2022-06-23 14:02:37 +0000</bug_when>
    <thetext>Git commit a85eaedaaea1eb5acac45fab1d304a5d2a8dbc93 by Fushan Wen.
Committed on 23/06/2022 at 01:52.
Pushed by fusionfuture into branch &apos;master&apos;.

libtaskmanager: Fix dragging launcher icon when separateLaunchers is false

When separateLaunchers is false and there are two opened pinned tasks
and one launcher icon, dragging the launcher icon to a position between
the two pinned tasks always fails for the first time.

The general idea of this fix is to make sure after every move operation,
pinned launhcer item and the corresponding opened window still stay
together.
FIXED-IN: 5.26

M  +31   -12   libtaskmanager/launchertasksmodel.cpp
M  +70   -22   libtaskmanager/tasksmodel.cpp

https://invent.kde.org/plasma/plasma-workspace/commit/a85eaedaaea1eb5acac45fab1d304a5d2a8dbc93</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2186021</commentid>
    <comment_count>4</comment_count>
    <who name="Bug Janitor Service">bug-janitor</who>
    <bug_when>2022-12-16 13:46:40 +0000</bug_when>
    <thetext>A possibly relevant merge request was started @ https://invent.kde.org/plasma/plasma-workspace/-/merge_requests/2444</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2186960</commentid>
    <comment_count>5</comment_count>
    <who name="Fushan Wen">qydwhotmail</who>
    <bug_when>2022-12-19 01:46:13 +0000</bug_when>
    <thetext>Git commit 884706953a0ba72bc65c63d15f08159931cb6445 by Fushan Wen.
Committed on 19/12/2022 at 01:46.
Pushed by fusionfuture into branch &apos;master&apos;.

libtaskmanager: add unit test for BUG 444816

Bug description: A launcher item will jump back to the old position when user
tries to move it to a position between running tasks when &quot;Keep launchers
separate option&quot; is disabled.

M  +1    -0    libtaskmanager/autotests/CMakeLists.txt
A  +40   -0    libtaskmanager/autotests/data/windows/ManyWindows.qml     [License: LGPL(3+eV) LGPL(v3.0) LGPL(v2.1)]
A  +129  -0    libtaskmanager/autotests/tasksmodeltest.cpp     [License: LGPL(3+eV) LGPL(v3.0) LGPL(v2.1)]

https://invent.kde.org/plasma/plasma-workspace/commit/884706953a0ba72bc65c63d15f08159931cb6445</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>