<?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>502956</bug_id>
          
          <creation_ts>2025-04-18 04:38:06 +0000</creation_ts>
          <short_desc>Move to center incorrectly interacts with spatial tiling</short_desc>
          <delta_ts>2025-05-10 00:21:42 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>4</classification_id>
          <classification>Plasma</classification>
          <product>kwin</product>
          <component>Quick Tiling</component>
          <version>6.3.4</version>
          <rep_platform>Fedora RPMs</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>regression</keywords>
          <priority>NOR</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Coacher">itumaykin+kde</reporter>
          <assigned_to name="KWin default assignee">kwin-bugs-null</assigned_to>
          <cc>nate</cc>
    
    <cc>vlad.zahorodnii</cc>
          
          <cf_commitlink>https://invent.kde.org/plasma/kwin/-/commit/162011fc89ff4740c47f4d487c32f3d2974c5245</cf_commitlink>
          <cf_versionfixedin>6.4.0</cf_versionfixedin>
          <cf_sentryurl></cf_sentryurl>
          <votes>0</votes>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>2416824</commentid>
    <comment_count>0</comment_count>
    <who name="Coacher">itumaykin+kde</who>
    <bug_when>2025-04-18 04:38:06 +0000</bug_when>
    <thetext>SUMMARY
After quick tiling a window and moving it to center, the window remembers, how it was tiled.


STEPS TO REPRODUCE
1. Quick tile a window to the top left corner via hotkey
2. Move the window to the center via hotkey
3. Try to quick tile the window to the top left corner again

OBSERVED RESULT
Nothing happens

EXPECTED RESULT
The window is quick tiled to the top left corner

SOFTWARE/OS VERSIONS
Operating System: Fedora Linux 41
KDE Plasma Version: 6.3.4
KDE Frameworks Version: 6.13.0
Qt Version: 6.8.2
Kernel Version: 6.13.11-200.fc41.x86_64 (64-bit)
Graphics Platform: Wayland
Processors: 8 × 11th Gen Intel® Core™ i7-1165G7 @ 2.80GHz
Memory: 15.3 GiB of RAM
Graphics Processor: Mesa Intel® Iris® Xe Graphics

ADDITIONAL INFORMATION
If I do 1 and 2, but instead of 3 I do quick tile to the right, the window is expanded at the top of the screen. Which is also an error.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2416974</commentid>
    <comment_count>1</comment_count>
    <who name="Nate Graham">nate</who>
    <bug_when>2025-04-18 17:48:45 +0000</bug_when>
    <thetext>Can reproduce.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2417590</commentid>
    <comment_count>2</comment_count>
    <who name="Bug Janitor Service">bug-janitor</who>
    <bug_when>2025-04-21 15:30:18 +0000</bug_when>
    <thetext>A possibly relevant merge request was started @ https://invent.kde.org/plasma/kwin/-/merge_requests/7543</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2421214</commentid>
    <comment_count>3</comment_count>
    <who name="Vlad Zahorodnii">vlad.zahorodnii</who>
    <bug_when>2025-05-05 13:13:30 +0000</bug_when>
    <thetext>Git commit 162011fc89ff4740c47f4d487c32f3d2974c5245 by Vlad Zahorodnii.
Committed on 05/05/2025 at 12:22.
Pushed by vladz into branch &apos;master&apos;.

Make Placement::packTo() evacuate window from tiled state

M  +6    -0    src/placement.cpp

https://invent.kde.org/plasma/kwin/-/commit/162011fc89ff4740c47f4d487c32f3d2974c5245</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>