<?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>15329</bug_id>
          
          <creation_ts>2000-11-14 13:48:02 +0000</creation_ts>
          <short_desc>Use Wayland session restore to save and remember size, position, virtual desktop, etc. of windows of session-restore-compatible apps</short_desc>
          <delta_ts>2026-02-23 13:00:26 +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>general</component>
          <version>5.26.5</version>
          <rep_platform>unspecified</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>CONFIRMED</bug_status>
          <resolution></resolution>
          
          <see_also>https://bugs.kde.org/show_bug.cgi?id=436318</see_also>
    
    <see_also>https://bugs.kde.org/show_bug.cgi?id=487912</see_also>
    
    <see_also>https://bugs.kde.org/show_bug.cgi?id=442192</see_also>
    
    <see_also>https://bugs.kde.org/show_bug.cgi?id=482816</see_also>
    
    <see_also>https://bugs.kde.org/show_bug.cgi?id=515711</see_also>
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>usability, wayland-only</keywords>
          <priority>VHI</priority>
          <bug_severity>wishlist</bug_severity>
          <target_milestone>---</target_milestone>
          
          <blocked>510929</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter>abrahams</reporter>
          <assigned_to name="KWin default assignee">kwin-bugs-null</assigned_to>
          <cc>4wy78uwh</cc>
    
    <cc>60f31543-f82f-492a-8430-25db5521568b</cc>
    
    <cc>abakumov.alexandr</cc>
    
    <cc>achilleas.k</cc>
    
    <cc>adem4ik</cc>
    
    <cc>adorkablue1996</cc>
    
    <cc>agurenko</cc>
    
    <cc>al.neodim</cc>
    
    <cc>alanjprescott</cc>
    
    <cc>ancoron.luciferis</cc>
    
    <cc>anton.schenker</cc>
    
    <cc>aoeui</cc>
    
    <cc>arisu+kdebugs</cc>
    
    <cc>artem.anufrij</cc>
    
    <cc>az.dev</cc>
    
    <cc>barry</cc>
    
    <cc>bartoloni</cc>
    
    <cc>bernie</cc>
    
    <cc>bingmybong</cc>
    
    <cc>bobofenglish</cc>
    
    <cc>bohlke</cc>
    
    <cc>breakingspell</cc>
    
    <cc>bryan</cc>
    
    <cc>bugs.kde.org</cc>
    
    <cc>bugs.kde.org</cc>
    
    <cc>bugs.kde.pistos</cc>
    
    <cc>bugs.kde</cc>
    
    <cc>bugseforuns</cc>
    
    <cc>butirsky</cc>
    
    <cc>cabanur</cc>
    
    <cc>caerulean.trigon</cc>
    
    <cc>claudius.ellsel</cc>
    
    <cc>codermotor</cc>
    
    <cc>dagda</cc>
    
    <cc>dang</cc>
    
    <cc>dashonwwIII</cc>
    
    <cc>ddascalescu+kde</cc>
    
    <cc>dennis</cc>
    
    <cc>devguy.ca</cc>
    
    <cc>dion</cc>
    
    <cc>dkxls23</cc>
    
    <cc>dragoncast</cc>
    
    <cc>drew.m.fisher</cc>
    
    <cc>e.duisters1</cc>
    
    <cc>enc0re</cc>
    
    <cc>endymion+kde</cc>
    
    <cc>eugene.savitsky</cc>
    
    <cc>forums.basil562</cc>
    
    <cc>frederick888</cc>
    
    <cc>fridolin.411</cc>
    
    <cc>gabravier</cc>
    
    <cc>grahamperrin</cc>
    
    <cc>guido.iodice</cc>
    
    <cc>harijs</cc>
    
    <cc>herzenschein</cc>
    
    <cc>hormel</cc>
    
    <cc>hueponik</cc>
    
    <cc>irgend-kdebugs</cc>
    
    <cc>ismail</cc>
    
    <cc>itsforspam99</cc>
    
    <cc>izylstra</cc>
    
    <cc>j.cook</cc>
    
    <cc>jason.boissiere</cc>
    
    <cc>jlp</cc>
    
    <cc>kairo</cc>
    
    <cc>katze_942</cc>
    
    <cc>kde-bugs</cc>
    
    <cc>kde-bugs</cc>
    
    <cc>kde.bugs</cc>
    
    <cc>kde.stimulate395</cc>
    
    <cc>kde</cc>
    
    <cc>kde</cc>
    
    <cc>KDE</cc>
    
    <cc>kde</cc>
    
    <cc>kde</cc>
    
    <cc>kdebugsq</cc>
    
    <cc>kdedev</cc>
    
    <cc>ken20001</cc>
    
    <cc>kontakt</cc>
    
    <cc>kustodian</cc>
    
    <cc>L.Bonnaud</cc>
    
    <cc>lapo</cc>
    
    <cc>lencho</cc>
    
    <cc>linux_rulez</cc>
    
    <cc>lomaharshana</cc>
    
    <cc>m.busico</cc>
    
    <cc>m.kurz</cc>
    
    <cc>madLyfe</cc>
    
    <cc>madness742</cc>
    
    <cc>maiphi.public</cc>
    
    <cc>majoroversight</cc>
    
    <cc>manuelchaves</cc>
    
    <cc>matthias.schrumpf</cc>
    
    <cc>mavericfso+kde</cc>
    
    <cc>mberezin+bugskde</cc>
    
    <cc>med.medin.2014</cc>
    
    <cc>miguel</cc>
    
    <cc>miranda</cc>
    
    <cc>monkiki</cc>
    
    <cc>mrmazda</cc>
    
    <cc>musikolo</cc>
    
    <cc>mwmj2hr4u</cc>
    
    <cc>natalie_clarius</cc>
    
    <cc>nate</cc>
    
    <cc>nemeskey.david</cc>
    
    <cc>nerumo</cc>
    
    <cc>nick</cc>
    
    <cc>niklassalminen</cc>
    
    <cc>nucleo</cc>
    
    <cc>null</cc>
    
    <cc>oded</cc>
    
    <cc>odzinic</cc>
    
    <cc>omosnacek</cc>
    
    <cc>p.r.worrall</cc>
    
    <cc>p.stephenwille</cc>
    
    <cc>petr</cc>
    
    <cc>pieterkristensen</cc>
    
    <cc>pietromrl0</cc>
    
    <cc>piotr.mierzwinski</cc>
    
    <cc>pm</cc>
    
    <cc>pmrpla+bugskde</cc>
    
    <cc>poperigby</cc>
    
    <cc>postix</cc>
    
    <cc>praedor</cc>
    
    <cc>r.lehmeier</cc>
    
    <cc>r2b2x3+kdebug</cc>
    
    <cc>rainer.meier</cc>
    
    <cc>ranky</cc>
    
    <cc>rimuatkinson</cc>
    
    <cc>rocketraman</cc>
    
    <cc>s.roussak</cc>
    
    <cc>sam</cc>
    
    <cc>scottn</cc>
    
    <cc>sdar</cc>
    
    <cc>sebi.loew</cc>
    
    <cc>silver.salonen</cc>
    
    <cc>slaout</cc>
    
    <cc>smowtenshi</cc>
    
    <cc>spamless.9v5xj</cc>
    
    <cc>t.p.northover</cc>
    
    <cc>the.real.samuel.jimenez</cc>
    
    <cc>thierry.walter3</cc>
    
    <cc>thstyl2000</cc>
    
    <cc>tneo</cc>
    
    <cc>travneff</cc>
    
    <cc>twelho</cc>
    
    <cc>unix1</cc>
    
    <cc>usrrgt</cc>
    
    <cc>ville.aakko</cc>
    
    <cc>web</cc>
    
    <cc>whyhow+tech</cc>
    
    <cc>xdata</cc>
    
    <cc>xnwrsp</cc>
    
    <cc>yellow.cat87355</cc>
    
    <cc>zawertun</cc>
    
    <cc>zzrakic</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>14405</commentid>
    <comment_count>0</comment_count>
    <who name="">kidcat7</who>
    <bug_when>2000-11-14 13:42:45 +0000</bug_when>
    <thetext>(*** This bug was imported into bugs.kde.org ***)

Package: kwin
Version: 2.0
Severity: wishlist
Installed from: Mandrake 7.2 RPM

I think that the placement policy should have en aditional feature called &apos;Remember&apos;. M$-winslows has this feature and it is awfully nice... Especially when running at high resolutions it is nice that everything pops up in the same size on the same place. I know that other WM&apos;s has this feature so it should not be hard to implement ;)

(submitted via bugs.kde.org)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>96117</commentid>
    <comment_count>1</comment_count>
    <who name="Lubos Lunak">l.lunak</who>
    <bug_when>2002-09-26 19:44:57 +0000</bug_when>
    <thetext>*** Bug 27969 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>97102</commentid>
    <comment_count>2</comment_count>
    <who name="Lubos Lunak">l.lunak</who>
    <bug_when>2002-10-01 12:18:19 +0000</bug_when>
    <thetext>*** Bug 18578 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>97401</commentid>
    <comment_count>3</comment_count>
    <who name="Lubos Lunak">l.lunak</who>
    <bug_when>2002-10-02 17:37:51 +0000</bug_when>
    <thetext> See also bug #39946. 
 </thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>100661</commentid>
    <comment_count>4</comment_count>
    <who name="Harijs Buss">harijs</who>
    <bug_when>2002-10-19 22:18:47 +0000</bug_when>
    <thetext>&gt; Especially when running at high resolutions it is nice that everything pops up
in the same size on the same place.

Very strongly supported. There should be some way to define strict, unchangeable
by application itself position and size of initial window. All child windows
(optionally) should have the same size. Cascading windows should use the same
initial position incremented by some defineable steps (default values depending
of screen resolution). 

This feature will be valuable specially with business people. Take a look on
business people desktops: most of them want their mail app, text editor, browser
etc. exactly on positions they like, not everywhere decided by some optimization
algorithm. I know :-) I want myself all things on my 1600*1200 desktop to be on
their defined positions, because I am used to that order and do not want to
distract my attention seeking where the hell KMail opened this time and why it
is so small this morning - I need to resize it and bring back to its right place
anyway. Annoying. So to say we need hammer and nails to fix at least main KDE
apps in places they should be forever. Title option Save Settings _doesnt_ do
this, BTW. It too often forgets about place and size.

</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>110158</commentid>
    <comment_count>5</comment_count>
    <who name="Lubos Lunak">l.lunak</who>
    <bug_when>2002-12-19 19:54:32 +0000</bug_when>
    <thetext>*** Bug 28224 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>135163</commentid>
    <comment_count>6</comment_count>
    <who name="Lubos Lunak">l.lunak</who>
    <bug_when>2003-05-22 15:45:16 +0000</bug_when>
    <thetext>*** Bug 58771 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>169357</commentid>
    <comment_count>7</comment_count>
    <who name="Sebastien">slaout</who>
    <bug_when>2003-10-27 13:04:04 +0000</bug_when>
    <thetext>- I agree : having theire windows alwayse at the same position is needed.
- And have a maximized flag is also good (especialy with the new interactive changing desktop resolution, or orientation... or simply by changing the kicker size).
- It&apos;s already doable but few programs, as OpenOffice, overwrite this behavor and I doesn&apos;t like : his window isn&apos;t maximized and it still few pixels !
- And also, at the moment, we must explicitly specifie which windows will keep theire geometry. But I want save geometrie of ALL windows : please add a mode to ALWAYSE remember windows properties by default.

What KWin III will change ?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>222634</commentid>
    <comment_count>8</comment_count>
    <who name="Lubos Lunak">l.lunak</who>
    <bug_when>2004-04-09 23:21:22 +0000</bug_when>
    <thetext>*** Bug 79300 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>232283</commentid>
    <comment_count>9</comment_count>
    <who name="Lubos Lunak">l.lunak</who>
    <bug_when>2004-05-13 11:27:43 +0000</bug_when>
    <thetext>*** Bug 81463 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>233664</commentid>
    <comment_count>10</comment_count>
    <who name="Stephan Kulow">coolo</who>
    <bug_when>2004-05-17 20:11:09 +0000</bug_when>
    <thetext>Replaced kidcat7@hotmail.com with abrahams@acm.org due to bounces by reporter</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>306747</commentid>
    <comment_count>11</comment_count>
    <who name="Lubos Lunak">l.lunak</who>
    <bug_when>2005-01-25 12:52:22 +0000</bug_when>
    <thetext>*** Bug 85715 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>306749</commentid>
    <comment_count>12</comment_count>
    <who name="Lubos Lunak">l.lunak</who>
    <bug_when>2005-01-25 12:52:29 +0000</bug_when>
    <thetext>*** Bug 97718 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>306750</commentid>
    <comment_count>13</comment_count>
    <who name="Lubos Lunak">l.lunak</who>
    <bug_when>2005-01-25 12:53:42 +0000</bug_when>
    <thetext>NOTE TO SELF: Check all duplicates, especially the last two.
</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>311833</commentid>
    <comment_count>14</comment_count>
    <who name="Harijs Buss">harijs</who>
    <bug_when>2005-02-09 12:53:52 +0000</bug_when>
    <thetext>Quoted from Jarne Cook, in description of Bug 97718:

&quot;I see kwin now has the extreme advanced window settings dialog.  In there I can set each app to have it&apos;s size/pos remembered.  This is a nice feature but it&apos;s is very inconvenient.  To have to right click for every application is just overboard.&quot;

Agree. Not only one need to set each app to have it&apos;s size/pos remembered but in fact it&apos;s necessary for every _window_.  For exampe, I need to set RClick -&gt; Advanced -&gt; Store window settings for EACH WINDOW I use with Mozilla (and there usually are lot&apos;s of Mozilla windows on my desktop, and I don&apos;t like tabs, thank you). If I have used previously e.g. not more than 6 Mozilla windows and decide to open the seventh one, it will pop up in some hard to predict weird position and I will have to adjust it and set &quot;Store window settings&quot; for it individually. 

Well, this is better than not to have any position/size remembering at all (like it used to be some time ago), but nevertheless &quot;overboard&quot;. 

In my humble opinion it would be much better if option &quot;Remember&quot; will refer to whole application and it&apos;s windows, by default according window placement policy.  For example, if I have set Placement as &quot;Cascade&quot; and set &quot;Remember&quot; with main application window, then additional windows should come up cascaded (if not set specifically with &quot;Remember&quot;). 

Harry,  
using KDE 3.2.3 coming with Mandrake 10.1 x86-64 Commercial. 
</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>449205</commentid>
    <comment_count>15</comment_count>
    <who name="Wolfgang Sailer">Wolfgang</who>
    <bug_when>2006-06-23 20:16:13 +0000</bug_when>
    <thetext>I strongly support this wish!
It drives me nuts to have a &quot;economic&quot; placement, because for ME economic means a window pops up, where I last closed it. This makes it &quot;economic&quot; for me to find the window.
&quot;economic&quot; is great, if you like it. Also, you can use an &quot;economic&quot; placement, if a window is opened for the first time.

&quot;random&quot; position is some odd feature. Who actually uses it?

PLEASE add a policy &quot;remember&quot;. And make it remember different functions of konquerer (one placement and size for file browsing, one other for internet browsing...)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>452869</commentid>
    <comment_count>16</comment_count>
    <who name="Stefan Borggraefe">Stefan.Borggraefe</who>
    <bug_when>2006-07-11 17:32:09 +0000</bug_when>
    <thetext>*** Bug 121736 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>452880</commentid>
    <comment_count>17</comment_count>
    <who name="Michael Stather">kontakt</who>
    <bug_when>2006-07-11 18:02:32 +0000</bug_when>
    <thetext>Many apps already have the functionality to remember the window state, and some have the ability to remember the window position and size (like kdetv).
Perhaps a general framework for remembering those settings would be useful.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>482284</commentid>
    <comment_count>18</comment_count>
    <who name="Al">kde</who>
    <bug_when>2006-11-02 02:55:48 +0000</bug_when>
    <thetext>
&gt; I want to save the geometry of ALL windows: please add a option to ALWAYS remember windows properties by default. 
ACK!

I use Linux/KDE (2048x768) inside vmWare on a dual-screen host (2560x1024). So X &amp; kdm don´t know about two screens and just realize the wide resolution. So windows open often in the middle of both screens or with 70% of the desktop-width what results in ultra-wide widgets. What would happen with a 4000px wide (virtual) desktop? The windows would spawn overweening wide - so they need to know their &apos;common size&apos; (something between minimal size to show their content and size of one display) - or at least remember the users demand last time.

The &apos;smart&apos; windowplacement of KDE 3.5 sometimes opens windows (preferred texteditors) with a size of about 50x50px in a far away corner, if the desktop is cluttered with windows. But two minutes ago I maximized the last application entity vertically and want the current the same.

The functionality of the already available window-specific behavior configuration is great for special demands, so keep it, but it´s not good as missing-default workaround.
(The names of the tabs (at least the german) for this configuration do not really reveal which window-identification is mandatory for a rule. The workflow steps don´t really open up.)

I just wanted to annotate that application-specific transparency-rules also fit this topic, but it´s already there! :)   Thank you, team!!

Beside the option &apos;remember application size and position when reopen&apos; the smart placement (and sizing) would be much smarter if it could be defined that kde lives inside a dual-, tripple-, n-monitor configuration. 
Depending on this, another &apos;smart&apos; placement-strategy would work: 
where to place new windows on screen: left screen, center, right screen, top, bottom, or the screen where mousepointer is on.

I have to note, that I haven´t tryed xinerama already.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>484586</commentid>
    <comment_count>19</comment_count>
    <who name="Lubos Lunak">l.lunak</who>
    <bug_when>2006-11-06 12:54:22 +0000</bug_when>
    <thetext>If the host system is dual-head and the client system inside VMWare doesn&apos;t know about this, then I&apos;d consider this to be a VMWare problem. You can use http://ktown.kde.org/~seli/fakexinerama/ to force a specific Xinerama setup.
</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>675573</commentid>
    <comment_count>20</comment_count>
    <who name="">usrrgt</who>
    <bug_when>2008-12-05 02:26:54 +0000</bug_when>
    <thetext>KDE must remember positions and size for all apps, for better desktop experience.
It&apos;s very annoying to have to resize the applications each time they boot.

Yes, it can be done by hand with KWin, but this is something that KWin should know do by himself (like MS Windows, for example).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>697684</commentid>
    <comment_count>21</comment_count>
    <who name="kioftes">thstyl2000</who>
    <bug_when>2009-01-11 11:30:47 +0000</bug_when>
    <thetext>It is indeed something that should be fixed. Some apps (ex. adept) open in a ridiculously small window. It is very annoying and still there on kde 4.1.85</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>751418</commentid>
    <comment_count>22</comment_count>
    <who name="">lucas</who>
    <bug_when>2009-05-03 04:48:56 +0000</bug_when>
    <thetext>*** Bug 191375 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1054664</commentid>
    <comment_count>23</comment_count>
    <who name="David Nemeskey">nemeskey.david</who>
    <bug_when>2010-12-07 08:15:14 +0000</bug_when>
    <thetext>Jesus, opened 10 years ago, 322 votes, and the bug is still here?!

Please, implement this feature. It is more relevant than ever with KDE4 and the plasma widgets. My notebook has an extra-wide screen, so I prefer to place a few plasmoids on the right hand side of the screen, and I don&apos;t want any windows to cover them. Unfortunately the &quot;smart&quot; (more like &quot;dumb as hell&quot;) placement puts every window there (since there is already a window in the top left corner). Firefox remembers its position, but the KDE apps don&apos;t.
(On a side note, you could also modify how the &quot;smart&quot; placement works -- or just rename it to &quot;corners&quot;.)

Remembering the size would also be nice, I hate how Adept always opens in such a small window.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1208953</commentid>
    <comment_count>24</comment_count>
    <who name="Gokdeniz Karadag">gokdenizk</who>
    <bug_when>2012-01-04 04:46:29 +0000</bug_when>
    <thetext>Searching for a solution for making window positions permanent, I found lots of instructions on &quot;window rules&quot;. Some months, and some researchers later I find this bug and see it is open from 2000.

 - Is there an official choice/policy on NOT doing a &quot;remember all window positions&quot;? If so, these bugs should be closed as WONTFIS

 - Is there an implementation difficulty? If so, it would be very nice to hear this from developers. 

 - Is the only thing that we lack is manpower and developer interest ? The issue can be proposed in Summer of code, or a call-to-arms can be published on developer blogs to implement this highly wanted feature.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1209186</commentid>
    <comment_count>25</comment_count>
    <who name="Thomas Lübking">thomas.luebking</who>
    <bug_when>2012-01-04 15:04:25 +0000</bug_when>
    <thetext>First off: it&apos;s Martins decision. I&apos;ll just share my personal opinion on this.

There seem three requests here
a) make kwin store all window positions
b) make kwin store all window dimensions
c) make kwin shrink it&apos;s placement area

Dealing (c) first - this feature does actually exist. It&apos;s called &quot;struts&quot;. They can set by *any* client (including the desktop) and usually are by docks. They will also have the in the apparent context &quot;nice&quot; side-effect to constrain the maximization area.
To make that very clear (while I think I have on some plasma-desktop bug):

    IT IS NOT REQUIRED TO HAVE AN ACTUAL DOCK TO ADD A STRUT¹

The solution in the named usecase (which makes me wanna bash &quot;Why do ppl. want to add important stuff to their desktop where it&apos;s covered by some windows anyway. What&apos;s the whole point of SuperKaramba&quot;) would be to have plasma-desktop to optionally add some virtual struts (== dead area from the screen edges) for it&apos;s plasmoids.

As a result
1) new windows would not be placed in that area
2) maximizing a window would not make it cover that area
3) moving a window across that are will require a &quot;free&quot; move (alt+lmb or specially featured by the decoration) resize but is still possible

----

Now regarding (a), that is to re/store all window positions: &quot;Client job. Period.&quot;

1) 100% exact identification of a window is not possible for the WM as it is for the Clients

2) Braindead implementation approach.
The WM would have to keep a (fast growing) list of all windows to check _everytime_ a window is mapped. Taking every client window you once opened, every dialog and the fact that window properties (including even the classname by every frickin&apos; minor version - ask firefox...) change &quot;under the hood&quot; ie. without any chance for the WM to know that this window will never show up again but is replaced by some other&quot; or that we&apos;d have to invoke the title for precise identification means that we&apos;re very soon talking about megabyte dimensions for that list. Meaning you can forget about the CPU cache. (That translates: &quot;dog slow&quot;)
On the other hand, the client only needs to store only two numbers and in the beginning tell the WM &quot;please place me here, thank you&quot;.

-&gt; task for kdelibs/kmainwindow, but:

3) Very debatable functionality. The exact position is stored alongside and thus across sessions. Makes sense because it means you get the desktop you left.
Placing a window at the exact same position it had last time while the desktop may have completely changed in the meantime (you plasmoid setup, other windows, ...) doesn&apos;t sound &quot;smart&quot; at all but more like intrusive (the window might be placed right under the pointer leaving a click at an unintended target; it might cover other windows while there would have been plenty of space where it would not)

---

b) Shares points (1) and (2) with (a) but in general makes a lot of sense, why this is the default behavior of kdelibs/kmainwindow and even per screen size. (That is, when you closed a window @ 1774x1216 while your netbook was attached to your cinema display, it will still open at 1024x600, as it closed last time on the netbook display)

KWin provides the rules as workarounds for legacy or broken or whatever clients which do not provide this functionality, but for Implementing this as a general feature, see (a.2)

===&gt; My personal conclusion:
* Clearly &quot;WONTFIX&quot; -at least not implemented in the WM-for (a)
* WORKSFORME for (b)
* (c) is misassigned. I admit to have no plasmoids on my desktop so i cannot judge on whether this makes sense, but it can and must be done by the client interested in restricting the placement area (plasma-desktop in the apparent case)

[1] Implementation detail:
Ok, kwin does a sanity check whether the requesting client is a dock. It&apos;s however ok to have an 1x1 offscreen dummy dock and make it add random struts.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1215882</commentid>
    <comment_count>26</comment_count>
    <who name="Mac Danni">hormel</who>
    <bug_when>2012-01-18 05:08:00 +0000</bug_when>
    <thetext>Re. post #25

An interesting take on things (works for me) but doesn&apos;t solve the problem. 

Fact is that each app used here at present is not saving it&apos;s window size+position in a reproducible way.

Main windows, sub menus, dialogues, are all affected here in v 4.6.5 it&apos;s a ridiculous situation in 2012! Having pinhead sized &quot;windows&quot;...pop up for an application start-up.

Most especially perhaps when M$ has got this right from year 1998 at least.
Yeah, a rant, but I&apos;d fix it if I could and not take an arrogant stance (Martin) that helps nobody.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1215884</commentid>
    <comment_count>27</comment_count>
    <who name="Martin Flöser">mgraesslin</who>
    <bug_when>2012-01-18 05:28:31 +0000</bug_when>
    <thetext>&gt; Main windows, sub menus, dialogues, are all affected here in v 4.6.5 it&apos;s a
&gt; ridiculous situation in 2012! Having pinhead sized &quot;windows&quot;...pop up for an
&gt; application start-up.
it might be possible to use the JavaScript bindings for it. Just use a huge 
map with the positions of your windows and listen to Client added. It can fix 
your problem, but is nothing to go into the window manager itself.
&gt; 
&gt; Most especially perhaps when M$ has got this right from year 1998 at least.
There is nothing wrong with using Microsoft Windows if it suits your needs 
better. Unfortunately it doesn&apos;t make any sense to point out that Windows 
supports this as that doesn&apos;t fix problems. Mircosoft is in the lucky 
situation of controling the complete Windowing System. We rely on what X 
provides.
&gt; Yeah, a rant, but I&apos;d fix it if I could and not take an arrogant stance
&gt; (Martin) that helps nobody.
Calling people arrogant in a bug report makes it very likely that they will 
start implementing your desired features.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1215888</commentid>
    <comment_count>28</comment_count>
    <who name="Thomas Lübking">thomas.luebking</who>
    <bug_when>2012-01-18 05:55:18 +0000</bug_when>
    <thetext>Not sure, but since Martin hasn&apos;t commented on this at all so far, I must assume that you accuse me of an &quot;arrogant stance&quot;?

Fact #1
Microsoft has actually nothing. There&apos;s nothing such as a WM on Windows but applications handle their window management pretty much themselves. For at least the dimensions that means they (those which actually do, what&apos;s NO WAY the general case) store them in their registry group and restore them on re-launch...

Fact #2
... what is -as mentioned- pretty much the same as (nearly) all KDE applications do. If they do not for you (you didn&apos;t specify what applications pop up &quot;pinhead sized&quot;) that is clearly a bug, but likely a local one (sorry) like insufficient access permissions an (ivalid, would be bug - yes) major strutting. You should name those clients and then start to investigate why they do as you observe, for this is NOT the behaviour on any system i&apos;ve ever been in touch with why the &quot;works for me&quot; statement is not arrogant but simply reality.

Fact #3
I not a single client tries to always restore it&apos;s former *position* (what is especially defined by the ICCCM spec and generally honored by kwin, except for explicit rule overrides) that means that either *all* application delevopers, DE engineers and HIG experts are arrogant or stupid - or no one is.
I&apos;ll happily read your paper to lay out why this would be a generally resonable behaviour.

Fact #4
I have no idea what you take as &quot;sub menus&quot; but (&quot;popup-&quot;)menus
a) are not handled by the window manager at all
b) (dynamically) calculate their dimensions to fit the content
c) are (dynamically) placed (by the application) related towards their parenting items
d) are neither resizable nor movable by users at all.

esp. if (b) should NOT hold for you, that would mean that for some reason every application on your destop thinks that you&apos;ve an unreasonably tiny workspace (but it would also mean that you couldn&apos;t &quot;maximize&quot; them any bigger)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1215889</commentid>
    <comment_count>29</comment_count>
    <who name="Mac Danni">hormel</who>
    <bug_when>2012-01-18 05:57:41 +0000</bug_when>
    <thetext>Thanks for the response and I owe you an apology, therefore I apologize.

I had just read something from you in another medium and it was rather blunt but I realize now that English may not be your first language. also I&apos;d just resized a Firefox window for the umpteenth time.

As a strong advocate of Linux, KDE, FSF etc. and an &apos;assistant&apos; to more than a few senior citizens it really irks when stuff like this &quot;window forgetting&quot; happens. Try as I might I cannot honestly defend a criticism that follows these or similar events. No Microsoft products in use here as they don&apos;t suit me. :)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1215891</commentid>
    <comment_count>30</comment_count>
    <who name="Mac Danni">hormel</who>
    <bug_when>2012-01-18 06:38:51 +0000</bug_when>
    <thetext>(In reply to comment #28)
&gt; Not sure, but since Martin hasn&apos;t commented on this at all so far, I must
&gt; assume that you accuse me of an &quot;arrogant stance&quot;?

Sorry for the misunderstanding, it was a blunt statement made on the subject (attributed to Martin) that upset a few people.

&gt; Fact #1

Thanks
 
&gt; Fact #2
&gt; ... what is -as mentioned- pretty much the same as (nearly) all KDE
&gt; applications do. If they do not for you (you didn&apos;t specify what applications
&gt; pop up &quot;pinhead sized&quot;) that is clearly a bug, but likely a local one (sorry)
&gt; like insufficient access permissions an (ivalid, would be bug - yes) major
&gt; strutting. You should name those clients and then start to investigate why they
&gt; do as you observe, for this is NOT the behaviour on any system i&apos;ve ever been
&gt; in touch with why the &quot;works for me&quot; statement is not arrogant but simply
&gt; reality.

Ok thanks, in short almost any GUI type that I&apos;ve used appears to do this. A clue for me might be that KDE 3.5, 4.5, held the settings and 4.6.5 doesn&apos;t.
 
&gt; Fact #3
&gt; I not a single client tries to always restore it&apos;s former *position* (what is
&gt; especially defined by the ICCCM spec and generally honored by kwin, except for
&gt; explicit rule overrides) that means that either *all* application delevopers,
&gt; DE engineers and HIG experts are arrogant or stupid - or no one is.
&gt; I&apos;ll happily read your paper to lay out why this would be a generally &gt;resonable behaviour.

Fair enough, I don&apos;t expect to be writing that paper any time soon.

&gt; Fact #4
&gt; I have no idea what you take as &quot;sub menus&quot; but (&quot;popup-&quot;)menus
&gt; a) are not handled by the window manager at all

Not clearly stated by me, sorry, &quot;popping-up&quot; could have been said as &apos;appearing&apos; and refers to any of the windows listed in the &quot;Advanced&gt; Special Window Settings&gt; Window Extra area.

&gt; b) (dynamically) calculate their dimensions to fit the content
&gt; c) are (dynamically) placed (by the application) related towards their
&gt; parenting items
&gt; d) are neither resizable nor movable by users at all.
&gt; 
&gt; esp. if (b) should NOT hold for you, that would mean that for some reason every
&gt; application on your destop thinks that you&apos;ve an unreasonably tiny workspace
&gt; (but it would also mean that you couldn&apos;t &quot;maximize&quot; them any bigger)

Of course what you say makes good sense and I don&apos;t know why the effect is experienced but as far as I can tell permissions are fine and as previously mentioned this behavior was almost totally absent in earlier KDE incarnations. It is certainly very bothersome though in my 4.6.5 version.

Re. Workspace, my idea of clutter might not accord with another person&apos;s and I might be content to have windows layer upon layer in a single desktop and switch between them. &lt; (just for illustration, I don&apos;t do this)

That&apos;s okay for me in that instance but unless I&apos;m missing the point does the allocation strategy say in effect, &quot;sorry but this next window is going to be pinhead sized because we have no space available?&quot;

The odd behavior is there in any case even with a single application on an otherwise sparsely populated screen. Just a single instance of Dolphin for example. Opens perfectly first time around, a re-size operation is done and then when opened again as a single app it&apos;s squashed up into &apos;pos 0,0&apos; and so tiny as to be almost unrecognizable.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1215895</commentid>
    <comment_count>31</comment_count>
    <who name="Martin Flöser">mgraesslin</who>
    <bug_when>2012-01-18 07:15:12 +0000</bug_when>
    <thetext>&gt; (In reply to comment #28)
&gt;&gt; Not sure, but since Martin hasn&apos;t commented on this at all so far, I 
&gt;&gt; must
&gt;&gt; assume that you accuse me of an &quot;arrogant stance&quot;?
&gt;
&gt; Sorry for the misunderstanding, it was a blunt statement made on the 
&gt; subject
&gt; (attributed to Martin) that upset a few people.
Now I am surprised that you attribute statements to developers who have 
not yet commented on the bug. But anyway I would like to know to which 
statement you refer which upset a few people. I am not a native speaker 
so I need to know which statements were bad phrased to not repeat the 
mistakes. Feel free to send the reply privately to keep this bugtracker 
clean.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1215899</commentid>
    <comment_count>32</comment_count>
    <who name="Mac Danni">hormel</who>
    <bug_when>2012-01-18 07:37:09 +0000</bug_when>
    <thetext>&gt; Now I am surprised that you attribute statements to developers who have 
&gt; not yet commented on the bug. But anyway I would like to know to which 
&gt; statement you refer which upset a few people. I am not a native speaker 
&gt; so I need to know which statements were bad phrased to not repeat the 
&gt; mistakes. Feel free to send the reply privately to keep this bugtracker 
&gt; clean.

OK I&apos;ll send you the information privately.

Thank you for all that you do development-wise, and I will not add any more noise to bugtracker.

I can see that a few other writers have stated the &quot;pos,size&quot; difficulty in a more lucid way and it&apos;s clearly a problem that could do with a better answer than the one we currently have.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1216070</commentid>
    <comment_count>33</comment_count>
    <who name="Thomas Lübking">thomas.luebking</who>
    <bug_when>2012-01-18 16:24:13 +0000</bug_when>
    <thetext>(In reply to comment #30)
&gt; Sorry for the misunderstanding, it was a blunt statement made on the subject
&gt; (attributed to Martin) that upset a few people.
Ok, I guess you just got why ppl. often write: DO NOT CROSSPOST! ;-)

&gt; Ok thanks, in short almost any GUI type that I&apos;ve used appears to do this. A
&gt; clue for me might be that KDE 3.5, 4.5, held the settings and 4.6.5 doesn&apos;t.
If it covers Dolphin, Kwrite, Firefox, Gimp and LibreOffice there&apos;s indeed a general (window- or filesystem) issue because they would all work differently in this regard.

-&gt; Did you add any rules to kwin (&quot;kcmshell4 kwinrules&quot;, It&apos;s general access to &quot;Special Window Settings&quot; management)
==&gt; (esp. if one of them is a &quot;blind&quot; rule matching all windows) please attach your ~/.kde/share/config/kwinrulesrc (the rules are very powerful and *do* allow you to shoot yourself and break your desktop)
-&gt; Do you use multiple (plasma-desktop) activities? (their introduction broke nearly all &quot;remember&quot; rules - see bug #264981

&gt; That&apos;s okay for me in that instance but unless I&apos;m missing the point does the
&gt; allocation strategy say in effect, &quot;sorry but this next window is going to be
&gt; pinhead sized because we have no space available?&quot;

NO!
The WM ensures reasonable bounds (ie. not bigger than the workspace and not smaller than the titlebar requires) but that&apos;s it.

If the windows are *all* very small that is either
a) because they set this size
b) because a KWin rule explicitly forces them to this size
c) because the workspace is (virtually) restricted to this size (that&apos;s why i asked for maximization behavior)

&gt; The odd behavior is [...] Opens perfectly first time around, a re-size operation is 
&gt; done and then when opened again as a single app it&apos;s squashed up into &apos;pos 0,0&apos;

-&gt; Sounds like conflicting remember rules are set up.
Please attach kwinrulesrc as well as the dolphirc (you can strip the latter one from stuff like last path and whatever private information might be stored there - only the mainwindow sections and everything that starts by width/height is relevant)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1216574</commentid>
    <comment_count>34</comment_count>
    <who name="Mac Danni">hormel</who>
    <bug_when>2012-01-19 20:25:45 +0000</bug_when>
    <thetext>Thomas Lübking  wrote:
&gt; https://bugs.kde.org/show_bug.cgi?id=15329
&gt;
&gt; If it covers Dolphin, Kwrite, Firefox, Gimp and LibreOffice there&apos;s indeed a
&gt; general (window- or filesystem) issue because they would all work differently
&gt; in this regard.
&lt;snipped&gt;

Thanks indeed for the pointers and info!
I&apos;ll make some time to get on to this as soon as I can.

Regards
Mac</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1234623</commentid>
    <comment_count>35</comment_count>
    <who name="Martin Flöser">mgraesslin</who>
    <bug_when>2012-03-10 15:23:03 +0000</bug_when>
    <thetext>I am setting this feature request to WONTFIX as it is not possible to implement such a remember policy with our currently used windowing system. Recognizing a window is a non trivial issue. This might become solvable with Wayland but in general remembering cannot be implemented by a window manager or a windowing system, but has to be requested by the clients.

Given that the feature request has been opened more than 10 years ago I consider it as the most honest thing we can do to finally close the request instead of keeping it open in the hope that someday the technical requirements will be available.

I want to thank everybody who commented on this report in order to make KDE suit his needs better. This is of course highly appreciated. I am sorry that we have to close this request and cannot present an implementation.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1236615</commentid>
    <comment_count>36</comment_count>
    <who name="Thomas Lübking">thomas.luebking</who>
    <bug_when>2012-03-14 22:38:57 +0000</bug_when>
    <thetext>*** Bug 192060 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1877469</commentid>
    <comment_count>37</comment_count>
    <who name="Nate Graham">nate</who>
    <bug_when>2019-08-28 15:26:48 +0000</bug_when>
    <thetext>*** Bug 380799 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1877471</commentid>
    <comment_count>38</comment_count>
    <who name="Nate Graham">nate</who>
    <bug_when>2019-08-28 15:26:56 +0000</bug_when>
    <thetext>*** Bug 384091 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1877477</commentid>
    <comment_count>39</comment_count>
    <who name="Nate Graham">nate</who>
    <bug_when>2019-08-28 15:31:09 +0000</bug_when>
    <thetext>*** Bug 409349 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1877479</commentid>
    <comment_count>40</comment_count>
    <who name="Nate Graham">nate</who>
    <bug_when>2019-08-28 15:31:10 +0000</bug_when>
    <thetext>*** Bug 409338 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1877481</commentid>
    <comment_count>41</comment_count>
    <who name="Nate Graham">nate</who>
    <bug_when>2019-08-28 15:34:59 +0000</bug_when>
    <thetext>Re-opening because a similar bug I filed remained open (Bug 79300).

Based on the list of duplicates and votes, It&apos;s clear that this is a very highly desired feature by our users and I think we ought to put some effort into trying to make it happen.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1877521</commentid>
    <comment_count>42</comment_count>
    <who name="Martin Flöser">mgraesslin</who>
    <bug_when>2019-08-28 20:11:17 +0000</bug_when>
    <thetext>Sorry, but this is not possible to implement for a window manager. We lack information to identify that a window is the same as previous window. Please see Thomas&apos;s comments on that. As Thomas states this is clearly a client job and we can only do something in frameworks for KDE applications.

On Wayland we lack the same information and I don&apos;t see a possibility to add a spec adding the required functionality as it requires each and every application to change. Even Qt API doesn&apos;t provide anything to specify the required functionality.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1943520</commentid>
    <comment_count>43</comment_count>
    <who name="Nate Graham">nate</who>
    <bug_when>2020-07-13 18:11:40 +0000</bug_when>
    <thetext>*** Bug 424162 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1943521</commentid>
    <comment_count>44</comment_count>
    <who name="Nate Graham">nate</who>
    <bug_when>2020-07-13 18:13:15 +0000</bug_when>
    <thetext>Talked to the current KWin developers and they indicated that this is quite feasible on Wayland once https://gitlab.freedesktop.org/wayland/wayland-protocols/-/merge_requests/18 lands upstream.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1943557</commentid>
    <comment_count>45</comment_count>
    <who name="David Edmundson">kde</who>
    <bug_when>2020-07-13 19:35:12 +0000</bug_when>
    <thetext>Just to set expectations it&apos;s when that lands upstream, and we implement it and every client also implements what is relevant.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1943604</commentid>
    <comment_count>46</comment_count>
    <who name="Unknown">null</who>
    <bug_when>2020-07-13 21:59:05 +0000</bug_when>
    <thetext>(In reply to Nate Graham from comment #44)
&gt; Talked to the current KWin developers and they indicated that this is quite
&gt; feasible on Wayland once
&gt; https://gitlab.freedesktop.org/wayland/wayland-protocols/-/merge_requests/18
&gt; lands upstream.

Not everyone can use Wayland. For example i cannot because i have an nvidia gpu. No feature should be exclusive to X11 or Waypand.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1943611</commentid>
    <comment_count>47</comment_count>
    <who name="Nate Graham">nate</who>
    <bug_when>2020-07-13 22:15:26 +0000</bug_when>
    <thetext>I&apos;d also like this on X11, but it seems almost impossible to do, after talking with several KWin developers about it in detail. And NVIDIA GPUs are now supported on Wayland, FWIW.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1943924</commentid>
    <comment_count>48</comment_count>
    <who name="Unknown">null</who>
    <bug_when>2020-07-15 01:17:09 +0000</bug_when>
    <thetext>(In reply to Nate Graham from comment #47)
&gt; I&apos;d also like this on X11, but it seems almost impossible to do, after
&gt; talking with several KWin developers about it in detail. And NVIDIA GPUs are
&gt; now supported on Wayland, FWIW.

Well, Gnome somehow does it, i have been using it for some time and it keeps the position and size of 99% of software i ever ran. Even most games ran through Proton.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1944048</commentid>
    <comment_count>49</comment_count>
    <who name="Unknown">null</who>
    <bug_when>2020-07-15 17:47:06 +0000</bug_when>
    <thetext>(In reply to Nate Graham from comment #47)
&gt; I&apos;d also like this on X11, but it seems almost impossible to do, after
&gt; talking with several KWin developers about it in detail. And NVIDIA GPUs are
&gt; now supported on Wayland, FWIW.

Also KDE can currently remember the posotion of windows by adding a window rule. But it has to be done for every program manually and thats unacceptable. But it proves it is curreltly possible. We should get an option to remember all window positions and sizes and be able to add window rules AS AN EXCEPTION to that.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1944097</commentid>
    <comment_count>50</comment_count>
    <who name="Unknown">null</who>
    <bug_when>2020-07-15 20:36:04 +0000</bug_when>
    <thetext>*** Bug 424257 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1944141</commentid>
    <comment_count>51</comment_count>
    <who name="Nate Graham">nate</who>
    <bug_when>2020-07-16 02:27:51 +0000</bug_when>
    <thetext>(In reply to qik00yt from comment #48)
&gt; Well, Gnome somehow does it, i have been using it for some time and it keeps
&gt; the position and size of 99% of software i ever ran. Even most games ran
&gt; through Proton.
The last time I tried GNOME, window positions were not remembered. Maybe they implemented this since then, or maybe they made GTK itself remember window positions, which would provide the illusion that their window manager Mutter is doing it, even though it&apos;s not.

Would you be able to investigate a bit to see which approach they took?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1944173</commentid>
    <comment_count>52</comment_count>
    <who name="Vlad Zahorodnii">vlad.zahorodnii</who>
    <bug_when>2020-07-16 06:22:44 +0000</bug_when>
    <thetext>(In reply to qik00yt from comment #46)
&gt; Not everyone can use Wayland. For example i cannot because i have an nvidia
&gt; gpu. No feature should be exclusive to X11 or Waypand.
I&apos;m afraid that we don&apos;t have enough information on X11.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1944178</commentid>
    <comment_count>53</comment_count>
    <who name="Vlad Zahorodnii">vlad.zahorodnii</who>
    <bug_when>2020-07-16 06:25:32 +0000</bug_when>
    <thetext>Meh, I&apos;m still not fully awake. The problem is that we don&apos;t have enough information on X11 to identify windows and thus place them at their previous position.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1944214</commentid>
    <comment_count>54</comment_count>
    <who name="Wolfgang Sailer">Wolfgang</who>
    <bug_when>2020-07-16 09:42:26 +0000</bug_when>
    <thetext>Here we are, 20 years after the reporting of this bug/feature request/wish (which wasn&apos;t even the first report), and not that much happened. Monitors bacame 5-10x bigger in pixel count and windows popping up in unexpected places are progressively harder to find, but hey?

I now could at length post one or antother episode from my life that happened during those 20 years, but - to sum it up - time progressed for me, I can&apos;t really afford to wait another 20 years to get this sorted out (via kwin, X11 or wayland), so, folks, lets be realistic, let&apos;s just close this bug 15329, collectively forget about it - it&apos;s not gonna happen, nobody capable of coding really cares about it enough - and just happily move on.

If we&apos;re really passionate about it, we could come back in 20 years, take a look at bug 15329 and tell our children or grand-children a nice little episode from our lives about the nightmare of crazily positioned windows in KDE and how we eventually learned to live with it.

I bid you a very warm farewell,
live long and prosper
Wolfi</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1944252</commentid>
    <comment_count>55</comment_count>
    <who name="Christoph Feck">cfeck</who>
    <bug_when>2020-07-16 14:04:02 +0000</bug_when>
    <thetext>Please learn to code before attacking those who can. Only then you will understand how hard it is. If I misunderstood your comment, and you are indeed able to code, why not suggest a patch?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1944265</commentid>
    <comment_count>56</comment_count>
    <who name="David Nemeskey">nemeskey.david</who>
    <bug_when>2020-07-16 14:38:51 +0000</bug_when>
    <thetext>Christoph: that&apos;s a fallacy; you don&apos;t have to be a cook to recognize badly prepared food.

This issue has been open for 20 years; I added myself to the CC list 10 years ago, when I was still using KDE. So even if it is a difficult problem, KDE has had all the time in the world to fix it.

Incidentally, on Linux Mint 18.3 Cinnamon, some apps remember their size, some remember their position as well, while others open in the middle of the screen in a default size. It was probably the same for Gnome back in 2009 before I switched to KDE. It&apos;s nowhere near optimal, but it shows that the information is  (was) there.

You might be right in saying that this is not a KWin issue, but should be handled in KDE core or wherever. Rest assured, that&apos;s completely fine with us, as long as this feature gets implemented somewhere. People using KDE probably mostly use K* apps anyway (with the exception of browsers and Libre Office, which remember their positions).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1944275</commentid>
    <comment_count>57</comment_count>
    <who name="Christoph Feck">cfeck</who>
    <bug_when>2020-07-16 15:16:31 +0000</bug_when>
    <thetext>This isn&apos;t about recognizing the issue, but solving it.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1944278</commentid>
    <comment_count>58</comment_count>
    <who name="Nate Graham">nate</who>
    <bug_when>2020-07-16 15:19:44 +0000</bug_when>
    <thetext>(In reply to David Nemeskey from comment #56)
&gt; Incidentally, on Linux Mint 18.3 Cinnamon, some apps remember their size,
&gt; some remember their position as well, while others open in the middle of the
&gt; screen in a default size. It was probably the same for Gnome back in 2009
&gt; before I switched to KDE. It&apos;s nowhere near optimal, but it shows that the
&gt; information is  (was) there.
In fact, what you describe is the *lack* of this feature: if the window manager handled remembering window sizes and positions, then no window would ever fail to remember its size or position. But because the window manager does not, it&apos;s up to each app (or each toolkit that apps are built with) to implement the feature on its own, which is why it works for some apps but not others.

We all want this feature, it&apos;s about figuring out how to do it. If it was easy, it would have been done ages ago.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1944338</commentid>
    <comment_count>59</comment_count>
    <who name="Unknown">null</who>
    <bug_when>2020-07-16 19:06:38 +0000</bug_when>
    <thetext>(In reply to Nate Graham from comment #58)
&gt; (In reply to David Nemeskey from comment #56)
&gt; &gt; Incidentally, on Linux Mint 18.3 Cinnamon, some apps remember their size,
&gt; &gt; some remember their position as well, while others open in the middle of the
&gt; &gt; screen in a default size. It was probably the same for Gnome back in 2009
&gt; &gt; before I switched to KDE. It&apos;s nowhere near optimal, but it shows that the
&gt; &gt; information is  (was) there.
&gt; In fact, what you describe is the *lack* of this feature: if the window
&gt; manager handled remembering window sizes and positions, then no window would
&gt; ever fail to remember its size or position. But because the window manager
&gt; does not, it&apos;s up to each app (or each toolkit that apps are built with) to
&gt; implement the feature on its own, which is why it works for some apps but
&gt; not others.
&gt; 
&gt; We all want this feature, it&apos;s about figuring out how to do it. If it was
&gt; easy, it would have been done ages ago.


&gt; But because the window manager
&gt; does not

Why ? Is there a reason it cant ?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1944350</commentid>
    <comment_count>60</comment_count>
    <who name="David Nemeskey">nemeskey.david</who>
    <bug_when>2020-07-16 19:41:06 +0000</bug_when>
    <thetext>(In reply to Nate Graham from comment #58)
&gt; (In reply to David Nemeskey from comment #56)
&gt; &gt; Incidentally, on Linux Mint 18.3 Cinnamon, some apps remember their size,
&gt; &gt; some remember their position as well, while others open in the middle of the
&gt; &gt; screen in a default size. It was probably the same for Gnome back in 2009
&gt; &gt; before I switched to KDE. It&apos;s nowhere near optimal, but it shows that the
&gt; &gt; information is  (was) there.
&gt; In fact, what you describe is the *lack* of this feature:

I wanted to point out three things in my comment, but apparently managed to mix them up.

1. Yes, what I described is the lack of the feature in the Gnome / Cinnamon ecosystem as a whole. However, at least some applications (and key applications like Terminal, Synaptic, etc.) do it, which makes it a much more acceptable experience than in KDE (speaking from memory here, but the issue is still open, so...)
2. The fact that some applications do it means it is possible, and was possible even with X11.
3. While this issue was opened against KWin, we users don&apos;t care where the solution will land. If it can only be done on the toolkit level (which is probably better than forcing each app/developer to implement it separately), so be it.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1944369</commentid>
    <comment_count>61</comment_count>
    <who name="Nate Graham">nate</who>
    <bug_when>2020-07-16 20:27:06 +0000</bug_when>
    <thetext>(In reply to qik00yt from comment #59)
&gt; &gt; But because the window manager
&gt; &gt; does not
&gt; 
&gt; Why ? Is there a reason it cant ?
That&apos;s what&apos;s being discussed by various developers in the comment thread of this bug report. :) There are a variety of technical challenges to making work on both X11 and Wayland. On X11, the challenges relate to various mismatches between what X11 provides the window manager and what the window manager needs. On Wayland, it&apos;re more about needed functionality not having been merged into a protocol yet.

Again, if it were easy, it would already be done. :)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1944371</commentid>
    <comment_count>62</comment_count>
    <who name="Nate Graham">nate</who>
    <bug_when>2020-07-16 20:30:13 +0000</bug_when>
    <thetext>(In reply to David Nemeskey from comment #60)
&gt; 1. Yes, what I described is the lack of the feature in the Gnome / Cinnamon
&gt; ecosystem as a whole. However, at least some applications (and key
&gt; applications like Terminal, Synaptic, etc.) do it, which makes it a much
&gt; more acceptable experience than in KDE (speaking from memory here, but the
&gt; issue is still open, so...)
For sure. Similar,y, some KDE applications already support this individually, such as Discover and Elisa.

&gt; 2. The fact that some applications do it means it is possible, and was
&gt; possible even with X11.
X11 limitations don&apos;t come into play when the app itself does it.

&gt; 3. While this issue was opened against KWin, we users don&apos;t care where the
&gt; solution will land. If it can only be done on the toolkit level (which is
&gt; probably better than forcing each app/developer to implement it separately),
&gt; so be it.
Indeed, that&apos;s exactly what Bug 415150 is tracking: having our app framework provide the feature automatically for all KDE apps, in the absence of the window manager doing it automatically.

Of course time is limited, and here I am responding to comments in a bug report instead of writing code. ;)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1944513</commentid>
    <comment_count>63</comment_count>
    <who name="Unknown">null</who>
    <bug_when>2020-07-17 14:13:25 +0000</bug_when>
    <thetext>(In reply to Nate Graham from comment #62)
&gt; (In reply to David Nemeskey from comment #60)
&gt; &gt; 1. Yes, what I described is the lack of the feature in the Gnome / Cinnamon
&gt; &gt; ecosystem as a whole. However, at least some applications (and key
&gt; &gt; applications like Terminal, Synaptic, etc.) do it, which makes it a much
&gt; &gt; more acceptable experience than in KDE (speaking from memory here, but the
&gt; &gt; issue is still open, so...)
&gt; For sure. Similar,y, some KDE applications already support this
&gt; individually, such as Discover and Elisa.
&gt; 
&gt; &gt; 2. The fact that some applications do it means it is possible, and was
&gt; &gt; possible even with X11.
&gt; X11 limitations don&apos;t come into play when the app itself does it.
&gt; 
&gt; &gt; 3. While this issue was opened against KWin, we users don&apos;t care where the
&gt; &gt; solution will land. If it can only be done on the toolkit level (which is
&gt; &gt; probably better than forcing each app/developer to implement it separately),
&gt; &gt; so be it.
&gt; Indeed, that&apos;s exactly what Bug 415150 is tracking: having our app framework
&gt; provide the feature automatically for all KDE apps, in the absence of the
&gt; window manager doing it automatically.
&gt; 
&gt; Of course time is limited, and here I am responding to comments in a bug
&gt; report instead of writing code. ;)

On my PC even Dolphin, not to mention Discover and Elisa do not remember the last size and placement. But they do on my laptop somehow, despite the configs being IDENTICAL</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1951999</commentid>
    <comment_count>64</comment_count>
    <who name="Nate Graham">nate</who>
    <bug_when>2020-08-20 17:00:48 +0000</bug_when>
    <thetext>This is in progress on Wayland! See https://invent.kde.org/plasma/kwayland-server/-/merge_requests/69 and https://invent.kde.org/plasma/kwin/-/merge_requests/178

On X11, I just merged a limited version for only KDE apps&apos; main windows, which is the best we can do there. See bug 415150.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1976792</commentid>
    <comment_count>65</comment_count>
    <who name="Nate Graham">nate</who>
    <bug_when>2020-11-19 20:37:44 +0000</bug_when>
    <thetext>*** Bug 429361 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1982227</commentid>
    <comment_count>66</comment_count>
    <who name="Davy Bartoloni">bartoloni</who>
    <bug_when>2020-12-07 09:31:27 +0000</bug_when>
    <thetext>Seems that KDE apps ported to Windows are affected by a corruption of the config file ( a lot of &quot;\&quot; characters on the configuration file) and this is placing the main app window on a strange position (with a strange size)

this is an example of a line: 

from this: 
Height 1080=900

to this:
\\\\.\\DISPLAY1 \\\\.\\DISPLAY2 Height 1080=900</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1982294</commentid>
    <comment_count>67</comment_count>
    <who name="Nate Graham">nate</who>
    <bug_when>2020-12-07 15:21:08 +0000</bug_when>
    <thetext>That&apos;s not related to this issue and is already tracked with Bug 429943.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2008000</commentid>
    <comment_count>68</comment_count>
    <who name="Nate Graham">nate</who>
    <bug_when>2021-03-02 19:03:25 +0000</bug_when>
    <thetext>*** Bug 433836 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2022361</commentid>
    <comment_count>69</comment_count>
    <who name="Nate Graham">nate</who>
    <bug_when>2021-04-05 00:36:40 +0000</bug_when>
    <thetext>*** Bug 435357 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2026680</commentid>
    <comment_count>70</comment_count>
    <who name="Nate Graham">nate</who>
    <bug_when>2021-04-21 19:51:33 +0000</bug_when>
    <thetext>*** Bug 435914 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2040430</commentid>
    <comment_count>71</comment_count>
    <who name="Patrick Silva">bugseforuns</who>
    <bug_when>2021-06-14 13:41:03 +0000</bug_when>
    <thetext>*** Bug 438599 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2050358</commentid>
    <comment_count>72</comment_count>
    <who name="PK">pieterkristensen</who>
    <bug_when>2021-08-02 09:14:16 +0000</bug_when>
    <thetext>I would very much love it when the window placement policy of Plasma got a little less jumpy. But if that is very hard to achieve (also under Wayland) I would like to make a suggestion:
only very recent I discovered that once you close an application in ms windows (10) using the window control &quot;x&quot; while at the same time pressing the Shift-key, it will from then on remember the size and position of that specific window.
I find that quite practical. That could be a temporary solution.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2050638</commentid>
    <comment_count>73</comment_count>
    <who name="PK">pieterkristensen</who>
    <bug_when>2021-08-03 04:23:06 +0000</bug_when>
    <thetext>Or, to take my thought in the previous comment (72) a little further: perhaps there could be a preference &quot;remember window size and position&quot; that made kwin automatically save a &quot;window rule&quot; when an app is closed.
And in this &quot;window rule&quot; size and position were to be saved.
That way the user wouldn&apos;t have to bother about the shortcut Shift-close.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2112158</commentid>
    <comment_count>74</comment_count>
    <who name="Nate Graham">nate</who>
    <bug_when>2022-03-20 14:20:58 +0000</bug_when>
    <thetext>*** Bug 450806 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2161550</commentid>
    <comment_count>75</comment_count>
    <who name="Patrick Silva">bugseforuns</who>
    <bug_when>2022-10-15 20:00:26 +0000</bug_when>
    <thetext>*** Bug 460498 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2174439</commentid>
    <comment_count>76</comment_count>
    <who name="Wolfgang Sailer">Wolfgang</who>
    <bug_when>2022-11-17 20:28:57 +0000</bug_when>
    <thetext>all right, we&apos;ve just crossed the 22-year line on this bug.
I&apos;m out.
;-)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2178457</commentid>
    <comment_count>77</comment_count>
    <who name="BingMyBong">bingmybong</who>
    <bug_when>2022-11-28 14:39:28 +0000</bug_when>
    <thetext>Never had an issue with this under X and nouveau but have it now using Wayland with radeon</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2206761</commentid>
    <comment_count>78</comment_count>
    <who name="Eugene">ken20001</who>
    <bug_when>2023-02-10 22:12:28 +0000</bug_when>
    <thetext>2023 is on the street, and it is impossible to switch between the windows of Wayland and XWayland.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2231939</commentid>
    <comment_count>79</comment_count>
    <who name="Nate Graham">nate</who>
    <bug_when>2023-05-19 20:12:01 +0000</bug_when>
    <thetext>*** Bug 469987 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2234048</commentid>
    <comment_count>80</comment_count>
    <who name="Nate Graham">nate</who>
    <bug_when>2023-05-31 19:08:13 +0000</bug_when>
    <thetext>*** Bug 470318 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2234061</commentid>
    <comment_count>81</comment_count>
    <who name="Raman Gupta">rocketraman</who>
    <bug_when>2023-05-31 20:00:36 +0000</bug_when>
    <thetext>In https://bugs.kde.org/show_bug.cgi?id=470318#c1 Nate explained that X11 apps are allowed to save and restore their own window positions. So I&apos;m guessing that this bug has been open for almost 23 years because this ceased to be an issue on X11, as every app implemented this on their own.

However, Nate also explains in https://bugs.kde.org/show_bug.cgi?id=470318#c1 that on Wayland, apps are no longer allowed to restore their own window positions. This can be seen easily with Firefox.

MOZ_DISABLE_WAYLAND=1 firefox 
Firefox running via XWayland is able to remember its own window position (though there is some visual jank as the windows position in the default spot, and then move to the remembered position).

But when running firefox natively on Wayland, window positions are not remembered.

Nate&apos;s comment in late 2020 was about purported progress in Wayland, but this is still not working in 2023. Now that Wayland will not allow apps to remember their own positions, I hope that renewed focus will be applied to this nearly 23 year old issue. For me, this is a showstopper issue for Wayland adoption, as I have many carefully positioned windows with browsers and IDEs and its a major pain to continually reposition Windows across every restart.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2234063</commentid>
    <comment_count>82</comment_count>
    <who name="Nate Graham">nate</who>
    <bug_when>2023-05-31 20:02:39 +0000</bug_when>
    <thetext>FWIW, as a workaround while this feature remains unimplemented, you should be able to use Window Rules on Wayland to manually force windows to appear where you want them.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2234079</commentid>
    <comment_count>83</comment_count>
    <who name="Eugene">ken20001</who>
    <bug_when>2023-05-31 21:27:20 +0000</bug_when>
    <thetext>(In reply to Nate Graham from comment #82)
&gt; FWIW, as a workaround while this feature remains unimplemented, you should
&gt; be able to use Window Rules on Wayland to manually force windows to appear
&gt; where you want them.

I would be very appreciate if you would show working window rules for Telegram window to always appear in upper right screen corner on Wayland.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2239936</commentid>
    <comment_count>84</comment_count>
    <who name="Zamundaaa">xaver.hugl</who>
    <bug_when>2023-07-06 15:26:44 +0000</bug_when>
    <thetext>*** Bug 471996 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2243621</commentid>
    <comment_count>85</comment_count>
    <who name="Zamundaaa">xaver.hugl</who>
    <bug_when>2023-07-31 12:43:37 +0000</bug_when>
    <thetext>*** Bug 472818 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2279425</commentid>
    <comment_count>86</comment_count>
    <who name="nullsteph">p.stephenwille</who>
    <bug_when>2024-01-11 15:15:56 +0000</bug_when>
    <thetext>Same issue.  Need all apps to assume their last known position on start and when monitors are removed/added.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2288004</commentid>
    <comment_count>87</comment_count>
    <who name="Zamundaaa">xaver.hugl</who>
    <bug_when>2024-02-11 16:59:57 +0000</bug_when>
    <thetext>*** Bug 481193 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2292748</commentid>
    <comment_count>88</comment_count>
    <who name="Piotr Mierzwinski">piotr.mierzwinski</who>
    <bug_when>2024-02-29 10:04:27 +0000</bug_when>
    <thetext>I case of restore Plasma session if you use one monitor then all windows are placed in the middle of screen on the  stack. IMO, this is not so elegant and convenient, because user after that need to/usually want rearrange/place them in way like were placed in previous session.

About save position.
I think setting rules to given window to save its position would be saved isn&apos;t easy for regular user. In my opinion easiest would be put option into window&apos;s properties. I mean icon at the left top corner if window and its menu, where is placed entry &quot;More options&quot; and here &quot;Move&quot;, &quot;Resize&quot;, &quot;Full Screen&quot;, e.t.c.. And here would be good to put here option like &quot;Save my position&quot;.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2304113</commentid>
    <comment_count>89</comment_count>
    <who name="Alan Prescott">alanjprescott</who>
    <bug_when>2024-03-22 10:40:46 +0000</bug_when>
    <thetext>The whole restore from manually saved session seems to be out of kilter under Plasma6/Wayland. 
The set up I&apos;ve been using previously is 8 Desktops with Dolphin on 1, Konsole on 5 and Firefox on 7, all set to to show on All Activities and in the positions I want. At the moment the only app that opens is Firefox and that on Desktop 1, in the middle of the Desktop and only available in the current activity.

Operating System: openSUSE Tumbleweed 20240319
KDE Plasma Version: 6.0.2
KDE Frameworks Version: 6.0.0
Qt Version: 6.6.2
Kernel Version: 6.8.1-1-default (64-bit)
Graphics Platform: Wayland</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2304194</commentid>
    <comment_count>90</comment_count>
    <who name="Nate Graham">nate</who>
    <bug_when>2024-03-22 14:00:11 +0000</bug_when>
    <thetext>Session restore is unrelated to this feature request.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2304212</commentid>
    <comment_count>91</comment_count>
      <attachid>167611</attachid>
    <who name="Alan Prescott">alanjprescott</who>
    <bug_when>2024-03-22 15:02:04 +0000</bug_when>
    <thetext>Created attachment 167611
attachment-839626-0.html

What Classification and Product should I report session restore bugs in?
I&apos;d rather not use &quot;I don&apos;t know&quot; if there&apos;s something more accurate

Alan Prescott
alanjprescott@gmail.com


On Fri, 22 Mar 2024 at 16:00, Nate Graham &lt;bugzilla_noreply@kde.org&gt; wrote:

&gt; https://bugs.kde.org/show_bug.cgi?id=15329
&gt;
&gt; --- Comment #90 from Nate Graham &lt;nate@kde.org&gt; ---
&gt; Session restore is unrelated to this feature request.
&gt;
&gt; --
&gt; You are receiving this mail because:
&gt; You are on the CC list for the bug.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2304455</commentid>
    <comment_count>92</comment_count>
    <who name="Nate Graham">nate</who>
    <bug_when>2024-03-23 04:26:24 +0000</bug_when>
    <thetext>plasmashell | Session Management would be the place.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2304486</commentid>
    <comment_count>93</comment_count>
    <who name="Jin Liu">ad.liu.jin</who>
    <bug_when>2024-03-23 09:40:13 +0000</bug_when>
    <thetext>*** Bug 484305 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2331192</commentid>
    <comment_count>94</comment_count>
    <who name="Raman Gupta">rocketraman</who>
    <bug_when>2024-06-24 13:21:11 +0000</bug_when>
    <thetext>(In reply to Nate Graham from comment #82)
&gt; FWIW, as a workaround while this feature remains unimplemented, you should
&gt; be able to use Window Rules on Wayland to manually force windows to appear
&gt; where you want them.

Trying to use this workaround but its very difficult to do properly. The &quot;Screen&quot; window rule for example takes a screen index as its value, but screen index doesn&apos;t even exist any more in Display Properties which now uses screen priorities and monitor model and serial numbers. Using &quot;Apply Now&quot; or &quot;Force&quot; and changing the index to 0, 1, or 2, does absolutely nothing on my triple-monitor setup, when testing with a Google Chrome window matching on window  window title.

Its so frustrating that this is impossible to do properly on Wayland. Is there another issue I can follow for this missing functionality (and hopefully not for years)?

Operating System: Fedora Linux 40
KDE Plasma Version: 6.1.0
KDE Frameworks Version: 6.3.0
Qt Version: 6.7.1
Kernel Version: 6.9.4-200.fc40.x86_64 (64-bit)
Graphics Platform: Wayland
Processors: 24 × 12th Gen Intel® Core™ i9-12900KS
Memory: 124.8 GiB of RAM
Graphics Processor: AMD Radeon RX 6600 XT
Manufacturer: ASUS</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2336362</commentid>
    <comment_count>95</comment_count>
    <who name="Nate Graham">nate</who>
    <bug_when>2024-07-10 20:06:49 +0000</bug_when>
    <thetext>*** Bug 489248 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2336375</commentid>
    <comment_count>96</comment_count>
    <who name="Raman Gupta">rocketraman</who>
    <bug_when>2024-07-10 20:23:42 +0000</bug_when>
    <thetext>(In reply to Raman Gupta from comment #94)
&gt; (In reply to Nate Graham from comment #82)
&gt; &gt; FWIW, as a workaround while this feature remains unimplemented, you should
&gt; &gt; be able to use Window Rules on Wayland to manually force windows to appear
&gt; &gt; where you want them.
&gt; 
&gt; Trying to use this workaround but its very difficult to do properly.

FYI: I created these related issues to track the gaps I found while trying to work around this issue with window rules:

https://bugs.kde.org/show_bug.cgi?id=490049
https://bugs.kde.org/show_bug.cgi?id=490050</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2338043</commentid>
    <comment_count>97</comment_count>
    <who name="Simon">dragoncast</who>
    <bug_when>2024-07-17 20:02:02 +0000</bug_when>
    <thetext>This bug is rapidly coming up on its 24th birthday, and with more and more distros ditching X11 and this bug still being a dealbreaker for a lot of people (myself included) It would be nice to know if there was a roadmap or a fix or something in the works for this issue?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2347491</commentid>
    <comment_count>98</comment_count>
    <who name="Vartan">forums.basil562</who>
    <bug_when>2024-08-21 16:44:16 +0000</bug_when>
    <thetext>I searched the bug database for this problem and saw numerous bug reports.  This one seems to be the most recent.
I see very inconsistent behavior.  Once out of about every 10 reboots and logins, I see the Dolphin file manager windows in the same location with the same size as they were when I logged out (or when I directly shut down). 

However, the other 9 times out of 10, the windows are in some completely strange location, sometimes the same size, sometimes a different size.

For instance:  last night when I shut down I had 2 Dolphin windows open.  During the day I had opened a third window (and resized to much bigger than the first two windows); I had closed it during my session, leaving the first two windows open.  

This morning, upon boot and log in, there were 2 windows open; both were of the size of the third (larger) window from the previous day&apos;s session, both in the same position as the third window from the previous day&apos;s session.

There were no windows in the positions and of the sizes of the first 2 windows from the previous day&apos;s session.  Today is the first time I&apos;ve seen such behavior.

The behavior seems quite random actually.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2360876</commentid>
    <comment_count>99</comment_count>
    <who name="Sebastian E.">kde-bugs</who>
    <bug_when>2024-09-29 10:23:50 +0000</bug_when>
    <thetext>(In reply to Nate Graham from comment #82)
&gt; FWIW, as a workaround while this feature remains unimplemented, you should
&gt; be able to use Window Rules on Wayland to manually force windows to appear
&gt; where you want them.

Emphasis on &quot;should&quot;. While I can make Firefox open always centered with a certain width and vertically maximized most of the times (about 10% of the times the latter doesn&apos;t work), so do its dialogs, i.e. primary password prompt, file save, dev tools, etc. There&apos;s no sane way to exclude those windows—at least I found none except preceding the rule with &quot;Do Not Affect&quot; rules matching the title.

Aside from that, initial window placement and sizing are a mess. Having observed it for a while now, I&apos;d guess that there are a handful of different bugs causing it, but I can&apos;t isolate a single one. One is probably erroneous calculations for my particular display layout (oO - 1080p 100%, primary 4K 125%). Another one might be taking other windows into account even if they are on a different screen or desktop. Regarding the 10% failure rate to apply the window rule mentioned above, I&apos;d guess it&apos;s a race condition. Others seem to be third party issues—e.g. Zoom&apos;s menu popups are displaced.

And if I understand the Wayland design correctly (I only scratched the surface), it seems to be an inherent issue with it. Tiling window managers suddenly seem very attractive. I&apos;m currently exploring alternatives for all the little things that come with a complete desktop environment. Maybe I&apos;ll follow the hype. 😐

By the way, as a fun experiment, start KRuler and move/resize it over two screens with different scale factors.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2362302</commentid>
    <comment_count>100</comment_count>
    <who name="Raman Gupta">rocketraman</who>
    <bug_when>2024-10-03 12:40:39 +0000</bug_when>
    <thetext>I&apos;ve been beta testing early release versions of JetBrains IntelliJ IDEA IDE on native Wayland. My experience with trying to use Window Rules for my IDEA IDE windows completely failed. Many of the popup windows were responding to the same rules. In discussing this with the developers, they say that IDEA&apos;s uses regular windows for many of its popups, because &quot;IDEA&apos;s UI is very complex and it was not possible to accomplish everything IDEA popups need with what Wayland&apos;s popups offer.&quot; Reference:

https://youtrack.jetbrains.com/issue/JBR-3206/Native-Wayland-support#focus=Comments-27-10645536.0-0

Furthermore, the positioning of these windows is often simply wrong, showing up on the top left corner many times, or other weird behavior.

Furthermore, many of IDEA&apos;s popups are very different sizes and aspect ratios, depending on the specific content being shown.

In thinking about this &quot;Save and Remember Window Positions&quot; issue, I&apos;m not sure how the window manager is supposed to deal with and understand all this complexity. Only the application has the knowledge necessary to do this. Furthermore, pretty much every application already has the logic necessary to do it because it had to on X11.

Has anyone considered rethinking the overall approach Wayland takes to window positioning? Or proposed a Wayland protocol or something that would allow applications to position their own windows?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2362310</commentid>
    <comment_count>101</comment_count>
    <who name="Eugene Savitsky">eugene.savitsky</who>
    <bug_when>2024-10-03 13:54:31 +0000</bug_when>
    <thetext>On two monitor setup it is pain in the ass to restart the PC, since all windows pop up randomly on a different monitor, each time you have to move the windows to the desired monitor by hands. 

And when there are 8-10 of these windows after startup, it really hurts...</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2363236</commentid>
    <comment_count>102</comment_count>
    <who name="Oded Arbel">oded</who>
    <bug_when>2024-10-06 14:29:52 +0000</bug_when>
    <thetext>(In reply to Raman Gupta from comment #100)
&gt; Furthermore, the positioning of these windows is often simply wrong, showing
&gt; up on the top left corner many times, or other weird behavior.

That seems like a bug in KWin - it should not create a new window in the top left corner unless there&apos;s a really good reason.

&gt; Has anyone considered rethinking the overall approach Wayland takes to
&gt; window positioning? Or proposed a Wayland protocol or something that would
&gt; allow applications to position their own windows?

AFAIK the best (most likely to move forward) work about giving apps more control over new window positioning is `ext-zones` (https://gitlab.freedesktop.org/wayland/wayland-protocols/-/merge_requests/264) that is being discussed and has a KWin prototype implementation. This isn&apos;t moving in any sort of speed actually relevant to an actual client implementation, but maybe if IDEA devs can hop in on the discussion and offer an perspective and an actual client implementation (based on the KWin prototype) - maybe it can move things forward.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2365220</commentid>
    <comment_count>103</comment_count>
    <who name="">sebi.loew</who>
    <bug_when>2024-10-12 13:15:02 +0000</bug_when>
    <thetext>I can confirm, this bug is really annoying after each restart.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2365443</commentid>
    <comment_count>104</comment_count>
    <who name="Marek">enc0re</who>
    <bug_when>2024-10-13 09:47:23 +0000</bug_when>
    <thetext>I might be offtopic now, but. Hard to say, if remembering position and size should be on application itself, or on WM. I would say, application should/must handle it by itself.

I used to be hobby &quot;dev&quot; (10 years ago) on Windows with C# and I had to write my routine to save window size and position. Luckily it was pretty easy, few lines of code using Windows Registry and I saved window dimensions (x, y, width, length attributes) on OnQuit event.

I really wonder, that developers didn&apos;t implemented it in own software in Linux world, rather waiting 20 years to fix it by WM. I know nothing about development on Linux, but in most dirty way I would save dimensions in file somewhere in ~/.config and to save HDD/SSD writes, wouldn&apos;t save it on OnResize but only on OnQuit event.

Seems that some KDE apps have it implemented somehow, because Dolphin, Konsole remember size and position. For example KMail nothing.

I just tested KeePassXC - nothing saves. Clementine saves window size but not position.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2365460</commentid>
    <comment_count>105</comment_count>
    <who name="Eugene Savitsky">eugene.savitsky</who>
    <bug_when>2024-10-13 11:20:50 +0000</bug_when>
    <thetext>Just tested. Dolphin and Konsole do remember size, but not position, they always open centered (if were not maximized) on a one screen system.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2365650</commentid>
    <comment_count>106</comment_count>
    <who name="Sebastian E.">kde-bugs</who>
    <bug_when>2024-10-14 01:10:00 +0000</bug_when>
    <thetext>By the way, there&apos;s a deeply buried option for window placement:
System Settings -&gt; Window Management -&gt; Window Behavior -&gt; Advanced -&gt; Window Placement

Regardless of that option, some dialogs, e.g. the master password dialogs of KWallet and Thunderbird, are always placed top left. The one of Firefox is centered, though. After a Plasma update, the KWallet dialog moved even further to the left. If the mouse had not yet been moved after login, windows used to open on my primary screen. Now they open on my secondary screen (which is the left-most).

Regarding window rules: as long as applications don&apos;t set distinct window classes for different kinds of windows, they won&apos;t be really helpful.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2386682</commentid>
    <comment_count>107</comment_count>
    <who name="Rainer Meier">rainer.meier</who>
    <bug_when>2025-01-04 00:13:33 +0000</bug_when>
    <thetext>I have also tried to create a generic Window Rule trying to achieve that KDE is remembering all windows individually or at least group all windows with the same window title.
Specifically when using Firefox with 20+ open windows it&apos;s very annoying when they all open in the same spot overlapping each other. Unfortunately no combination of using &quot;.*&quot; regular expression or defining &quot;Unimportant&quot; for class or type worked as expected.
I would be OK if I have two Firefox windows (same class) and identical tab URL active (same window title) opening in same location and size. But mostly the windows are having a distinct title and I would like to make KDE remember size and position for each window with this title individually. Without having to create a manual rule for each window before closing it.

So KDE would actually have to save the location and size for each unique set of class and title.

While this sounds easy I am rather also thinking about how to clean up this &quot;database&quot; of class/title matches as an ever-growing list of titles stored might cause waste of resources. Thinking about it KDE might just store another set of class/title list when a process is closed and discard all earlier saved values for windows with titles which do not exist any more at time of closing the class. Not sure if that makes sense. At least it&apos;s very annoying having to re-arrange all windows of multi-window applications like Firefox on each start.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2410954</commentid>
    <comment_count>108</comment_count>
    <who name="TraceyC">kdedev</who>
    <bug_when>2025-03-26 21:45:15 +0000</bug_when>
    <thetext>*** Bug 500958 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2420499</commentid>
    <comment_count>109</comment_count>
    <who name="Lenzoid">strong.drum0546</who>
    <bug_when>2025-05-01 22:38:34 +0000</bug_when>
    <thetext>*** Bug 503446 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2429283</commentid>
    <comment_count>110</comment_count>
    <who name="Bloop">caerulean.trigon</who>
    <bug_when>2025-05-31 10:23:16 +0000</bug_when>
    <thetext>Also tried using the Window Rules to create a default Remember rule by setting Window class to Unimportant and found out that didn&apos;t work. If it did, adding that as the default rule would solve 90% of this issue seemingly trivially.
I then made per application rules for to remember Size and Position, but a multiwindow Blender runs into another bug. I tried making multiple rules matching the different window titles, but found out that is very inconsistent, Force is the only option that actually affects the secondary Blender windows, or any window using title matching. I&apos;m guessing because the window doesnt have its title set before the rules are checked? The third Blender window gets placed matched same as the second one for some reason, then after moving it for a while some unknown trigger causes it to be rematched and the correct rule&apos;s Force options take effect.

Moving from Windows and Mint Cinnamon, this is a pretty big friction point and the first I haven&apos;t yet been able to work around. Plasma Wayland is still the most usuable for a multimonitor setup. Please, I&apos;d love for it to be fully usuable.

Operating System: Fedora Linux 42
KDE Plasma Version: 6.3.5
KDE Frameworks Version: 6.14.0
Qt Version: 6.9.0
Kernel Version: 6.14.8-300.fc42.x86_64 (64-bit)
Graphics Platform: Wayland</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2429675</commentid>
    <comment_count>111</comment_count>
    <who name="Zamundaaa">xaver.hugl</who>
    <bug_when>2025-06-02 12:56:13 +0000</bug_when>
    <thetext>*** Bug 479391 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2430256</commentid>
    <comment_count>112</comment_count>
    <who name="Pistos">bugs.kde.pistos</who>
    <bug_when>2025-06-04 14:59:07 +0000</bug_when>
    <thetext>I just did a system update, including Plasma, restarted, and saw that my Konsole window positions were remembered. Not perfect, but so much better than what was happening all these years, where all the Konsole windows were usually jammed onto one screen, one virtual desktop. This time, it remembered which windows were on which desktop, and had them in more or less the correct relative positions. Absolute positions: not really, but that&apos;s because KDE doesn&apos;t seem to remember the layout of my multimonitor setup. I don&apos;t mind dragging a few windows a bit, though. Having them go back to the same virtual desktop was the main problem, and that seems to be solved now. Hopefully this is not just a coincidence.

Plasma 6.3.5
Qt 6.8.3
Kernel 6.12.21 (Gentoo)
X11</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2430280</commentid>
    <comment_count>113</comment_count>
    <who name="Eugene Savitsky">eugene.savitsky</who>
    <bug_when>2025-06-04 15:53:44 +0000</bug_when>
    <thetext>Plasma 6.3.x does not have this fix. 6.4 will have.

But as I tried  on on Fedora 42 (via https://copr.fedorainfracloud.org/coprs/g/kdesig/kde-beta/) I can tell, that KDE Gear 24.04.01 apps do not remember it&apos;s positions/sizes.

Seems we have to wait Gear apps also supports it. By now Kcalc window always pops up on the center of the screen.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2435205</commentid>
    <comment_count>114</comment_count>
    <who name="Bob English">bobofenglish</who>
    <bug_when>2025-06-23 04:16:43 +0000</bug_when>
    <thetext>Plasma 6.4 released, I installed it:

This function is still not back, nor to be found in the settings where it used to be when it worked, nor anywhere else.  I miss it a lot.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2435440</commentid>
    <comment_count>115</comment_count>
    <who name="Vartan">forums.basil562</who>
    <bug_when>2025-06-23 16:10:37 +0000</bug_when>
    <thetext>Absolutely, agree with everyone who says this feature should be in KDE.  

Quite candidly, the entire landscape feels so amateurish and puerile to me.  All this discussion about people writing scripts (in various scripting languages) to make ad hoc and somewhat band-aided &quot;solutions&quot; wreaks of amateur night--not ready for prime time.

If this feature cannot be implemented easily, then KDE (and the entire Linux platform for that matter) needs some serious architecture... and serious, experienced, seasoned architects.... 

I find it pretty disillusioning that Linux still doesn&apos;t do so many things that my SunOS / OpenLook desktop did nicely in 1988....</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2435457</commentid>
    <comment_count>116</comment_count>
    <who name="Roke Julian Lockhart Beedell">4wy78uwh</who>
    <bug_when>2025-06-23 16:48:13 +0000</bug_when>
    <thetext>(In reply to Vartan from comment #115)

&gt; I find it pretty disillusioning that Linux still doesn&apos;t do so many things that my SunOS / OpenLook desktop did nicely in 1988....

They didn&apos;t architect their OS for multiple DEs that *already* exist. This would be a comparably trivial endeavour for the KDE developers to implement themselves if their stack were as monolithic as macOS or Windows 11&apos;s are. One cannot have standardisation, a quick release, and universal support simultaneously.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2435483</commentid>
    <comment_count>117</comment_count>
    <who name="Vartan">forums.basil562</who>
    <bug_when>2025-06-23 17:53:53 +0000</bug_when>
    <thetext>(In reply to Roke Julian Lockhart Beedell from comment #116)
&gt; (In reply to Vartan from comment #115)
&gt; 
&gt; &gt; I find it pretty disillusioning that Linux still doesn&apos;t do so many things that my SunOS / OpenLook desktop did nicely in 1988....
&gt; 
&gt; They didn&apos;t architect their OS for multiple DEs that *already* exist. This
&gt; would be a comparably trivial endeavour for the KDE developers to implement
&gt; themselves if their stack were as monolithic as macOS or Windows 11&apos;s are.
&gt; One cannot have standardisation, a quick release, and universal support
&gt; simultaneously.

Architecture does not imply &quot;monolithic&quot; anything -- in fact, quite the opposite.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2435533</commentid>
    <comment_count>118</comment_count>
    <who name="Roke Julian Lockhart Beedell">4wy78uwh</who>
    <bug_when>2025-06-23 19:24:32 +0000</bug_when>
    <thetext>(In reply to Vartan from comment #117)

Why have you said that? A single word can&apos;t imply anything.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2435554</commentid>
    <comment_count>119</comment_count>
    <who name="Bob English">bobofenglish</who>
    <bug_when>2025-06-23 20:40:28 +0000</bug_when>
    <thetext>(In reply to Vartan from comment #115)
&gt; Absolutely, agree with everyone who says this feature should be in KDE.  
&gt; 
&gt; Quite candidly, the entire landscape feels so amateurish and puerile to me. 
&gt; All this discussion about people writing scripts (in various scripting
&gt; languages) to make ad hoc and somewhat band-aided &quot;solutions&quot; wreaks of
&gt; amateur night--not ready for prime time.
&gt; 
&gt; If this feature cannot be implemented easily, then KDE (and the entire Linux
&gt; platform for that matter) needs some serious architecture... and serious,
&gt; experienced, seasoned architects.... 
&gt; 
&gt; I find it pretty disillusioning that Linux still doesn&apos;t do so many things
&gt; that my SunOS / OpenLook desktop did nicely in 1988....

If it&apos;s not a problem of KDE&apos;s making, then why are you blaming them and building a strawman argument?

If the Linux community is incompetent, then on account that you can download the source files and do with them as you wish for the most part, get coding, and show us how it&apos;s done!

Of course you could always just educate yourself about the differences between corporations and all the resources they can throw at things like what you are looking for but don&apos;t feel any obligation to satisfy users needs and wishes, and a world wide community contributing to millions of projects to give everyone what they need and want best they can and against all odds have made it well worth ditching that POS Windows for!  Oh, and they actually listen to us here, especially the KDE people!  They are unbeaten in my book!

Linux runs somewhere over 75% of the world, so all the stuff no one in their right mind would trust with Windows or even MacOS!  Linux is everywhere, even outer space!  Linux is taking over the world!  You have other choices if you wish.  You may want to try one of the BSD&apos;s, Haiku... or maybe you are more of a Temple OS person?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2435559</commentid>
    <comment_count>120</comment_count>
    <who name="Graham Perrin">grahamperrin</who>
    <bug_when>2025-06-23 20:57:43 +0000</bug_when>
    <thetext>I have close to zero tolerance for people who misuse Bugzilla. This is not a discussion forum.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2435576</commentid>
    <comment_count>121</comment_count>
    <who name="Roke Julian Lockhart Beedell">4wy78uwh</who>
    <bug_when>2025-06-23 22:02:18 +0000</bug_when>
    <thetext>(In reply to Graham Perrin from comment #120)

Indeed. For those who want to state their dislike of the current state of affairs, I implore that you explain your stances at https://discuss.kde.org/, rather than here. There&apos;s no intent to silence anyone here, just a lot of people who don&apos;t want to be notified of every message posted.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2446236</commentid>
    <comment_count>122</comment_count>
    <who name="Sdar">sdar</who>
    <bug_when>2025-08-09 15:59:46 +0000</bug_when>
    <thetext>I know this is probably not the right place to ask and I&apos;m fine if a moderator hides this as spam or off-topic, but I&apos;d appreciate if someone can point me in the right direction or tell me if this is even possible.

I’m porting a JPEGView feature (Windows image viewer) to qimgv: when you zoom in/out, the app window resizes to match the image size, there&apos;s a little more into it, but that&apos;s the general idea.

On X11 everything works perfectly but on Wayland, I can resize the window, but it always grows/shrinks from the top-left corner rather than from the center. I haven’t found a way to recenter the window or make it expand from its center.

I found this line in Nate Graham’s canned responses about Wayland:
&gt; Native Wayland windows are not allowed to determine where to place themselves on screen at all; the compositor does this.

My questions are:
Is there truly no way for a client to move a window or control the “resize origin” (e.g., expand from center)?
If not, would this require a feature request in KWin, or a new Wayland protocol or portal?

Thanks for any guidance.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2446237</commentid>
    <comment_count>123</comment_count>
    <who name="Roke Julian Lockhart Beedell">4wy78uwh</who>
    <bug_when>2025-08-09 16:04:01 +0000</bug_when>
    <thetext>(In reply to Sdar from comment #122)

&gt; I know this is probably not the right place to ask and I&apos;m fine if a
&gt; moderator hides this as spam or off-topic, but I&apos;d appreciate if someone can
&gt; point me in the right direction or tell me if this is even possible.

A post in https://discuss.kde.org/c/help/6 would likely be better. You can always tag him and/or reference the relevant BZ comment.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2446541</commentid>
    <comment_count>124</comment_count>
    <who name="TraceyC">kdedev</who>
    <bug_when>2025-08-11 16:28:32 +0000</bug_when>
    <thetext>*** Bug 503790 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2460655</commentid>
    <comment_count>125</comment_count>
    <who name="David Edmundson">kde</who>
    <bug_when>2025-10-09 12:59:00 +0000</bug_when>
    <thetext>*** Bug 510393 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2461640</commentid>
    <comment_count>126</comment_count>
    <who name="David Edmundson">kde</who>
    <bug_when>2025-10-13 17:23:28 +0000</bug_when>
    <thetext>*** Bug 510566 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2463889</commentid>
    <comment_count>127</comment_count>
    <who name="Nate Graham">nate</who>
    <bug_when>2025-10-22 19:34:15 +0000</bug_when>
    <thetext>Dug into this a bit, and the current status is that pieces are starting to fall into place:

1. Qt support for the experimental window positioning-based Wayland session restore is in Qt 6.11
2. KWin support for it is in 6.4, but currently gated behind two environment variables you need to set:

QT_WAYLAND_ENABLE_XX_SESSION_MANAGER=1
KWIN_WAYLAND_SUPPORT_XX_SESSION_MANAGER=1

Once Plasma can depend on Qt 6.11, turning it on by default in KWin becomes an option.

In addition, more pieces need to be implemented:
1. Apps need to be launched with their session IDs, so KWin can track them
2. Apps need to add some metadata to identify their windows so KWin can use the Wayland session restore protocol to track them across launches and know what size and position they had when closed.

#1 will require work in Plasma, KRunner, etc.

#2 will require work in all apps Why? Because there&apos;s actually no way for a window manager to persistently identify individual windows across app launches without some hints from the apps. Yes, really. It may sound unbelievable, but it&apos;s true. So apps need to give the window manager the proper hints. And that&apos;s what #2 entails.

For KDE apps, this will be relatively easy, as they already use &quot;state saver&quot; code that just needs to be adapted to set the right hints for Wayland session restore purposes.

For non-KDE apps, it&apos;s gonna be the wild west. Expect many to most apps to lag in adoption of this for years and years. So I&apos;m afraid the dream of &quot;remember all window positions automatically without apps having to do anything&quot; is dead, sorry. I&apos;m renaming this ticket to reflect what&apos;s feasible.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2463893</commentid>
    <comment_count>128</comment_count>
    <who name="Nate Graham">nate</who>
    <bug_when>2025-10-22 19:43:17 +0000</bug_when>
    <thetext>*** Bug 496674 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2463910</commentid>
    <comment_count>129</comment_count>
    <who name="Nate Graham">nate</who>
    <bug_when>2025-10-22 19:51:24 +0000</bug_when>
    <thetext>*** Bug 482816 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2463912</commentid>
    <comment_count>130</comment_count>
    <who name="Nate Graham">nate</who>
    <bug_when>2025-10-22 19:51:33 +0000</bug_when>
    <thetext>*** Bug 484318 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2463914</commentid>
    <comment_count>131</comment_count>
    <who name="Nate Graham">nate</who>
    <bug_when>2025-10-22 19:51:35 +0000</bug_when>
    <thetext>*** Bug 496063 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2463926</commentid>
    <comment_count>132</comment_count>
    <who name="Nate Graham">nate</who>
    <bug_when>2025-10-22 20:08:03 +0000</bug_when>
    <thetext>*** Bug 499842 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2463928</commentid>
    <comment_count>133</comment_count>
    <who name="Nate Graham">nate</who>
    <bug_when>2025-10-22 20:08:42 +0000</bug_when>
    <thetext>*** Bug 428864 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2463957</commentid>
    <comment_count>134</comment_count>
    <who name="Roke Julian Lockhart Beedell">4wy78uwh</who>
    <bug_when>2025-10-22 21:09:44 +0000</bug_when>
    <thetext>(In reply to Nate Graham from comment #127)

&gt; For non-KDE apps, it&apos;s gonna be the wild west. Expect many to most apps to
&gt; lag in adoption of this for years and years. So I&apos;m afraid the dream of
&gt; &quot;remember all window positions automatically without apps having to do
&gt; anything&quot; is dead, sorry. I&apos;m renaming this ticket to reflect what&apos;s
&gt; feasible.

Is this true for all other modern WMs, compositors, and display servers (KWin versus DWM.exe, Quartz, and XOrg 11)? I solely ask in order to know whether this is a deficiency in the Wayland standard (and/or the current X implementation[s]), or whether it&apos;s fundamentally infeasible; at least, outside of a very, very monolithic OS.

I see that the original issue states that this is available via alternative WMs, which causes me to believe that an X implementation might have provided this. However, I see little evidence of this, and even Windows 11 solely permits “Restartable applications” to be restarted in this manner.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2463987</commentid>
    <comment_count>135</comment_count>
    <who name="Nate Graham">nate</who>
    <bug_when>2025-10-22 22:12:38 +0000</bug_when>
    <thetext>It&apos;s fundamentally infeasible for the window manager to track windows across openings/closings without some metadata to help it. Apps will need to do their part to provide this information.

All of the existing approaches for doing this automatically rely on unreliable heuristics such as the window title, which isn&apos;t guaranteed to be the same when a window is opened again.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2463989</commentid>
    <comment_count>136</comment_count>
    <who name="Simon">dragoncast</who>
    <bug_when>2025-10-22 22:34:59 +0000</bug_when>
    <thetext>(In reply to Nate Graham from comment #127)
&gt; Dug into this a bit, and the current status is that pieces are starting to
&gt; fall into place:
&gt; 
&gt; 1. Qt support for the experimental window positioning-based Wayland session
&gt; restore is in Qt 6.11
&gt; 2. KWin support for it is in 6.4, but currently gated behind two environment
&gt; variables you need to set:
&gt; 
&gt; QT_WAYLAND_ENABLE_XX_SESSION_MANAGER=1
&gt; KWIN_WAYLAND_SUPPORT_XX_SESSION_MANAGER=1
&gt; 
&gt; Once Plasma can depend on Qt 6.11, turning it on by default in KWin becomes
&gt; an option.
&gt; 
&gt; In addition, more pieces need to be implemented:
&gt; 1. Apps need to be launched with their session IDs, so KWin can track them
&gt; 2. Apps need to add some metadata to identify their windows so KWin can use
&gt; the Wayland session restore protocol to track them across launches and know
&gt; what size and position they had when closed.
&gt; 
&gt; #1 will require work in Plasma, KRunner, etc.
&gt; 
&gt; #2 will require work in all apps Why? Because there&apos;s actually no way for a
&gt; window manager to persistently identify individual windows across app
&gt; launches without some hints from the apps. Yes, really. It may sound
&gt; unbelievable, but it&apos;s true. So apps need to give the window manager the
&gt; proper hints. And that&apos;s what #2 entails.
&gt; 
&gt; For KDE apps, this will be relatively easy, as they already use &quot;state
&gt; saver&quot; code that just needs to be adapted to set the right hints for Wayland
&gt; session restore purposes.
&gt; 
&gt; For non-KDE apps, it&apos;s gonna be the wild west. Expect many to most apps to
&gt; lag in adoption of this for years and years. So I&apos;m afraid the dream of
&gt; &quot;remember all window positions automatically without apps having to do
&gt; anything&quot; is dead, sorry. I&apos;m renaming this ticket to reflect what&apos;s
&gt; feasible.

This is the most straightforward, informative answer I have ever gotten regarding this issue on any platform. Thank you for laying it out plainly for a user like me.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2464001</commentid>
    <comment_count>137</comment_count>
    <who name="Bob English">bobofenglish</who>
    <bug_when>2025-10-23 00:03:45 +0000</bug_when>
    <thetext>(In reply to Nate Graham from comment #135)
&gt; It&apos;s fundamentally infeasible for the window manager to track windows across
&gt; openings/closings without some metadata to help it. Apps will need to do
&gt; their part to provide this information.
&gt; 
&gt; All of the existing approaches for doing this automatically rely on
&gt; unreliable heuristics such as the window title, which isn&apos;t guaranteed to be
&gt; the same when a window is opened again.

Something tells me they could, and should though, as well as all making apps for all DE&apos;s, and as a superpower user with no developing skills but most basic HTML, CSS, and of course just enough Bash command language to use the terminal with notes and stuff open to help me not mess up.

I am allthough very understanding of it all on a more conceptual level, an electronics engineer who made science grade Wave tech for R&amp;D, like spectroscopy... and logic circuitry, and so in using computers since 1979, and what many of us understood what computers were capable of, and should do, how best to do it... and watched it go sideways anyhow, often mostly not for the better with big tech, and so I do have a good idea I&apos;m sure others have thought of too, in order to fix a lot of stuff similar as to interoperability and so, more of a Linux standard procedure, than a specific module, with some and the idea based on some Star Trek tech, but also what already is done in ways within programs, I will for now call:

&quot;universal translator files&quot;.  Just comma, line, glyph type lists and yes small programs and what not, but in basic a go between to translate stuff that differ in programing languages, but do essentially the same thing, but differing based on the differing methods those languages and modules do them:  Example:

All KDE apps can go through it to pass it&apos;s commands... to the translator, and it translates it to gnome, and all DEs to one and it to all compositors... that way without unifying Linux by using only one compositor and DE, like a monolith, still behave like one no matter what DE, compositor, apps are in use with fewer issues.

The how I cannot help with much other than in concept, but if, and then once it is more like a project in development, I can help, at least with some pretty good critical and rational thinking skills.  I know it doesn&apos;t quite help here and now, but it came to mind, and I think may be worthy for consideration, and if so should be addressed on a more general entity level, so maybe The FSF, Kernel developer space or wherever most appropriate, and I can hit them up on it once I know the best place to start, and who to run it by

Some of it actually already exists;  I&apos;m sure, but it just needs to be in more of a standards and compliance (hated but helps) way, so any tips and feedback on that would be appreciated. And once in swing Ill get on trying to tackle my love hate relationship with most if not all spell checkers. ;&gt;)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2465395</commentid>
    <comment_count>138</comment_count>
    <who name="Dennis">dennis</who>
    <bug_when>2025-10-26 22:36:40 +0000</bug_when>
    <thetext>(In reply to Simon from comment #136)
&gt; (In reply to Nate Graham from comment #127)
&gt; &gt; Dug into this a bit, and the current status is that pieces are starting to
&gt; &gt; fall into place:
&gt; &gt; 
&gt; &gt; 1. Qt support for the experimental window positioning-based Wayland session
&gt; &gt; restore is in Qt 6.11
&gt; &gt; 2. KWin support for it is in 6.4, but currently gated behind two environment
&gt; &gt; variables you need to set:
&gt; &gt; 
&gt; &gt; QT_WAYLAND_ENABLE_XX_SESSION_MANAGER=1
&gt; &gt; KWIN_WAYLAND_SUPPORT_XX_SESSION_MANAGER=1
&gt; &gt; 
&gt; &gt; Once Plasma can depend on Qt 6.11, turning it on by default in KWin becomes
&gt; &gt; an option.
&gt; &gt; 
&gt; &gt; In addition, more pieces need to be implemented:
&gt; &gt; 1. Apps need to be launched with their session IDs, so KWin can track them
&gt; &gt; 2. Apps need to add some metadata to identify their windows so KWin can use
&gt; &gt; the Wayland session restore protocol to track them across launches and know
&gt; &gt; what size and position they had when closed.
&gt; &gt; 
&gt; &gt; #1 will require work in Plasma, KRunner, etc.
&gt; &gt; 
&gt; &gt; #2 will require work in all apps Why? Because there&apos;s actually no way for a
&gt; &gt; window manager to persistently identify individual windows across app
&gt; &gt; launches without some hints from the apps. Yes, really. It may sound
&gt; &gt; unbelievable, but it&apos;s true. So apps need to give the window manager the
&gt; &gt; proper hints. And that&apos;s what #2 entails.
&gt; &gt; 
&gt; &gt; For KDE apps, this will be relatively easy, as they already use &quot;state
&gt; &gt; saver&quot; code that just needs to be adapted to set the right hints for Wayland
&gt; &gt; session restore purposes.
&gt; &gt; 
&gt; &gt; For non-KDE apps, it&apos;s gonna be the wild west. Expect many to most apps to
&gt; &gt; lag in adoption of this for years and years. So I&apos;m afraid the dream of
&gt; &gt; &quot;remember all window positions automatically without apps having to do
&gt; &gt; anything&quot; is dead, sorry. I&apos;m renaming this ticket to reflect what&apos;s
&gt; &gt; feasible.
&gt; 
&gt; This is the most straightforward, informative answer I have ever gotten
&gt; regarding this issue on any platform. Thank you for laying it out plainly
&gt; for a user like me.

Yes, many thanks for explaining it all!</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2468605</commentid>
    <comment_count>139</comment_count>
    <who name="PK">pieterkristensen</who>
    <bug_when>2025-11-07 08:22:26 +0000</bug_when>
    <thetext>I hope you don&apos;t mind but did you take a look at this https://store.kde.org/p/2324743 ?
Seems very clever to me...</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2468624</commentid>
    <comment_count>140</comment_count>
    <who name="Achilleas Koutsou">achilleas.k</who>
    <bug_when>2025-11-07 10:50:30 +0000</bug_when>
    <thetext>(In reply to PK from comment #139)
&gt; I hope you don&apos;t mind but did you take a look at this
&gt; https://store.kde.org/p/2324743 ?
&gt; Seems very clever to me...

I&apos;m not too familiar with QML but that to me seems to be doing string matching on window titles to calculate a &quot;confidence&quot; [1].  Using window titles has been discussed extensively in these comments already.

[1] https://github.com/rxappdev/RememberWindowPositions/blob/5f7d285092ec94be48a0baf851e3f79d3b954e82/src/contents/ui/main.qml#L167-L190</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2468654</commentid>
    <comment_count>141</comment_count>
    <who name="Miguel Rozsas">miguel</who>
    <bug_when>2025-11-07 12:32:34 +0000</bug_when>
    <thetext>(In reply to Achilleas Koutsou from comment #140)
&gt; (In reply to PK from comment #139)
&gt; &gt; I hope you don&apos;t mind but did you take a look at this
&gt; &gt; https://store.kde.org/p/2324743 ?
&gt; &gt; Seems very clever to me...
&gt; 
&gt; I&apos;m not too familiar with QML but that to me seems to be doing string
&gt; matching on window titles to calculate a &quot;confidence&quot; [1].  Using window
&gt; titles has been discussed extensively in these comments already.
&gt; 
&gt; [1]
&gt; https://github.com/rxappdev/RememberWindowPositions/blob/
&gt; 5f7d285092ec94be48a0baf851e3f79d3b954e82/src/contents/ui/main.qml#L167-L190

Worked perfectly to me.
Thank you.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2468659</commentid>
    <comment_count>142</comment_count>
    <who name="Pedro Almeida">pmrpla+bugskde</who>
    <bug_when>2025-11-07 12:39:54 +0000</bug_when>
    <thetext>(In reply to Achilleas Koutsou from comment #140)
&gt; (In reply to PK from comment #139)
&gt; &gt; I hope you don&apos;t mind but did you take a look at this
&gt; &gt; https://store.kde.org/p/2324743 ?
&gt; &gt; Seems very clever to me...
&gt; 
&gt; I&apos;m not too familiar with QML but that to me seems to be doing string
&gt; matching on window titles to calculate a &quot;confidence&quot; [1].  Using window
&gt; titles has been discussed extensively in these comments already.
&gt; 
&gt; [1]
&gt; https://github.com/rxappdev/RememberWindowPositions/blob/
&gt; 5f7d285092ec94be48a0baf851e3f79d3b954e82/src/contents/ui/main.qml#L167-L190

I&apos;ve been using it for a while and can attest that it mostly works but it&apos;s not perfect. For example, with Chromium it usually misplaces its windows.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2468670</commentid>
    <comment_count>143</comment_count>
    <who name="Roke Julian Lockhart Beedell">4wy78uwh</who>
    <bug_when>2025-11-07 12:54:57 +0000</bug_when>
    <thetext>(In reply to Pedro Almeida from comment #142)

&gt; I&apos;ve been using it for a while and can attest that it mostly works but it&apos;s
&gt; not perfect. For example, with Chromium it usually misplaces its windows.

It at least provides, basically, parity with XOrg 11. It wasn&apos;t doing much differently, from what I know. Advantages and disadvantages together.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2468699</commentid>
    <comment_count>144</comment_count>
    <who name="Timo Nentwig">kde</who>
    <bug_when>2025-11-07 15:55:47 +0000</bug_when>
    <thetext>(In reply to Nate Graham from comment #127)
&gt; So I&apos;m afraid the dream of &quot;remember all window positions automatically without apps having to do
&gt; anything&quot; is dead, sorry.

Kidding? This draws wayland DOA.

For years and years I read news about wayland becoming the new default. Every time I tried it instantly crashed (what about live kernel patching, BTW... also standard for as long as Elon&apos;s FSD). For about a year it&apos;s actually stable as a daily driver. But it&apos;s still not able to even place windows on the proper virtual desktop! Dafuq?! Consider yourself lucky that it can resize windows!11!!

What is this? A call to switch to the Mac for good?!

We will have hoverboard before wayland is going to be usable as a product.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2468706</commentid>
    <comment_count>145</comment_count>
    <who name="Roke Julian Lockhart Beedell">4wy78uwh</who>
    <bug_when>2025-11-07 16:34:59 +0000</bug_when>
    <thetext>(In reply to Timo Nentwig from comment #144)

That&apos;s disingenuous. He elaborated well in https://bugs.kde.org/show_bug.cgi?id=15329#c135.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2468709</commentid>
    <comment_count>146</comment_count>
    <who name="Vartan">forums.basil562</who>
    <bug_when>2025-11-07 16:52:46 +0000</bug_when>
    <thetext>(In reply to Timo Nentwig from comment #144)
&gt; (In reply to Nate Graham from comment #127)
&gt; &gt; So I&apos;m afraid the dream of &quot;remember all window positions automatically without apps having to do
&gt; &gt; anything&quot; is dead, sorry.
&gt; 
&gt; Kidding? This draws wayland DOA.
&gt; 
&gt; For years and years I read news about wayland becoming the new default.
&gt; Every time I tried it instantly crashed (what about live kernel patching,
&gt; BTW... also standard for as long as Elon&apos;s FSD). For about a year it&apos;s
&gt; actually stable as a daily driver. But it&apos;s still not able to even place
&gt; windows on the proper virtual desktop! Dafuq?! Consider yourself lucky that
&gt; it can resize windows!11!!
&gt; 
&gt; What is this? A call to switch to the Mac for good?!
&gt; 
&gt; We will have hoverboard before wayland is going to be usable as a product.

The problem with Linux is that there is no coordination or alignment across all the projects.... 
And there is no real architecture effort to speak of.... 

And the people running these projects don&apos;t want the input of people who built the Unix systems of the 80s and 90s....
They think they know better.  

I just might end up switching back to Mac.  People talk about its risks.  But one can mitigate a lot of risk by using more trustworthy tools such as Thunderbird mail client, a reputable VPN, and so forth. I&apos;ve not read anything conclusive (a lot of speculation, but no confirmation) that macOS is actually logging keystrokes or doing the draconian things that Windows 11 does (which are confirmed). 

Very sad....  SunOS Open Look in 1990 worked like a dream... desktop, any of a number of your choice of window managers... &apos;cause it was well architected by professionals...

The Common Desktop Environment (CDE) and Motif were also good... at least they worked and did all the things that Linux today still can&apos;t do.

Yeah, I&apos;m sure my comment will be deleted by the moderators...</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2468713</commentid>
    <comment_count>147</comment_count>
    <who name="Bernie Innocenti">bernie</who>
    <bug_when>2025-11-07 17:25:11 +0000</bug_when>
    <thetext>Please avoid turning this bug report into a general complaint about Wayland. The transition has indeed been long and messy for all desktop environments, but we&apos;re finally nearing the end of it. Venting here won’t accelerate the remaining work, and may actually alienate the developers who are actively improving KDE’s Wayland support.

This report concerns a specific feature that is already in progress. The protocol has been defined, and integration work is underway in multiple GUI toolkits. The best way to help is to test the current implementations, report any issues to the appropriate projects, and link those reports here so they can be tracked.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2468722</commentid>
    <comment_count>148</comment_count>
    <who name="postix">postix</who>
    <bug_when>2025-11-07 17:35:25 +0000</bug_when>
    <thetext>This is a bug tracker, not a forum! Please move this discussion to https://discuss.kde.org or elsewhere more appropriate.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2495239</commentid>
    <comment_count>149</comment_count>
    <who name="Guido">guido.iodice</who>
    <bug_when>2026-02-16 18:34:20 +0000</bug_when>
    <thetext>Hi, I tried to get window restoring position to work in every way possible.

I added

KWIN_WAYLAND_SUPPORT_XX_SESSION_MANAGER=1

then also

QT_WAYLAND_ENABLE_XX_SESSION_MANAGER=1

I set the Chromium flag, but nothing happened.

I also tried the kwin test https://invent.kde.org/plasma/kwin/-/blob/master/tests/xdgsessiontest.cpp

but even that does not remember the window position.

What am I doing wrong?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2495260</commentid>
    <comment_count>150</comment_count>
    <who name="Vartan">forums.basil562</who>
    <bug_when>2026-02-16 20:12:04 +0000</bug_when>
    <thetext>(In reply to Guido from comment #149)
&gt; Hi, I tried to get window restoring position to work in every way possible.
&gt; 
&gt; I added
&gt; 
&gt; KWIN_WAYLAND_SUPPORT_XX_SESSION_MANAGER=1
&gt; 
&gt; then also
&gt; 
&gt; QT_WAYLAND_ENABLE_XX_SESSION_MANAGER=1
&gt; 
&gt; I set the Chromium flag, but nothing happened.
&gt; 
&gt; I also tried the kwin test
&gt; https://invent.kde.org/plasma/kwin/-/blob/master/tests/xdgsessiontest.cpp
&gt; 
&gt; but even that does not remember the window position.
&gt; 
&gt; What am I doing wrong?

I don&apos;t think you&apos;re doing anything wrong.  I just upgraded to Fedora 43... the &quot;Save Session&quot; button has mysteriously reappeared on the Application Launcher, but it still doesn&apos;t work....</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2496430</commentid>
    <comment_count>151</comment_count>
    <who name="Nate Graham">nate</who>
    <bug_when>2026-02-19 23:08:04 +0000</bug_when>
    <thetext>(In reply to Guido from comment #149)
&gt; Hi, I tried to get window restoring position to work in every way possible.
&gt; [...]
&gt; What am I doing wrong?
Nothing; the feature is simply not implemented yet and apps haven&apos;t opted into using it. That&apos;s why this bugzilla ticket is in the CONFIRMED state rather than RESOLVED, VERIFIED, or CLOSED.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2496644</commentid>
    <comment_count>152</comment_count>
    <who name="Guido">guido.iodice</who>
    <bug_when>2026-02-20 14:34:39 +0000</bug_when>
    <thetext>(In reply to Nate Graham from comment #151)
&gt; (In reply to Guido from comment #149)
&gt; &gt; Hi, I tried to get window restoring position to work in every way possible.
&gt; &gt; [...]
&gt; &gt; What am I doing wrong?
&gt; Nothing; the feature is simply not implemented yet and apps haven&apos;t opted
&gt; into using it. That&apos;s why this bugzilla ticket is in the CONFIRMED state
&gt; rather than RESOLVED, VERIFIED, or CLOSED.

Okay, but then what is KWIN_WAYLAND_SUPPORT_XX_SESSION_MANAGER for? It should work at least for Chromium and for the Kwin test that implement the protocol.
What is the missing piece?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2496648</commentid>
    <comment_count>153</comment_count>
    <who name="Guido">guido.iodice</who>
    <bug_when>2026-02-20 14:40:47 +0000</bug_when>
    <thetext>(In reply to Vartan from comment #150)

&gt; I don&apos;t think you&apos;re doing anything wrong.  I just upgraded to Fedora 43...
&gt; the &quot;Save Session&quot; button has mysteriously reappeared on the Application
&gt; Launcher, but it still doesn&apos;t work....

The session restore works for me, I don&apos;t know if it is the &quot;fake&quot; one or the &quot;true&quot; one.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2496655</commentid>
    <comment_count>154</comment_count>
    <who name="Lehmeier">r.lehmeier</who>
    <bug_when>2026-02-20 15:01:26 +0000</bug_when>
    <thetext>Does it work across different activities, or do you use the X11 variant of Plasma?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2496657</commentid>
    <comment_count>155</comment_count>
    <who name="Guido">guido.iodice</who>
    <bug_when>2026-02-20 15:04:14 +0000</bug_when>
    <thetext>(In reply to Lehmeier from comment #154)
&gt; Does it work across different activities, or do you use the X11 variant of
&gt; Plasma?

Yes, I was talking about Wayland. Honestly, I don&apos;t use activities.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2496663</commentid>
    <comment_count>156</comment_count>
    <who name="Nate Graham">nate</who>
    <bug_when>2026-02-20 15:30:23 +0000</bug_when>
    <thetext>(In reply to Guido from comment #152)
&gt; (In reply to Nate Graham from comment #151)
&gt; &gt; (In reply to Guido from comment #149)
&gt; &gt; &gt; Hi, I tried to get window restoring position to work in every way possible.
&gt; &gt; &gt; [...]
&gt; &gt; &gt; What am I doing wrong?
&gt; &gt; Nothing; the feature is simply not implemented yet and apps haven&apos;t opted
&gt; &gt; into using it. That&apos;s why this bugzilla ticket is in the CONFIRMED state
&gt; &gt; rather than RESOLVED, VERIFIED, or CLOSED.
&gt; 
&gt; Okay, but then what is KWIN_WAYLAND_SUPPORT_XX_SESSION_MANAGER for? It
&gt; should work at least for Chromium and for the Kwin test that implement the
&gt; protocol.
&gt; What is the missing piece?

It turns on the experimental functionality in KWin, but that functionality is still experimental and incomplete. Once it&apos;s complete, apps still have to opt in as well for it to have any effect, and they haven&apos;t.

You&apos;ll know when this issue is resolved or at least ready for testing because there will be announcements of it, both here and elsewhere.

Until then, sit tight. We&apos;re working on it.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2496693</commentid>
    <comment_count>157</comment_count>
    <who name="Lehmeier">r.lehmeier</who>
    <bug_when>2026-02-20 16:24:01 +0000</bug_when>
    <thetext>It&apos;s hard to believe that 26 years have passed since this error message appeared, and Wayland still considers this feature experimental?

Make sure it works, and applications will implement it.
Why should applications implement a feature that they themselves describe as experimental rather than fundamental?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2496704</commentid>
    <comment_count>158</comment_count>
    <who name="Guido">guido.iodice</who>
    <bug_when>2026-02-20 16:52:34 +0000</bug_when>
    <thetext>(In reply to Lehmeier from comment #157)
&gt; It&apos;s hard to believe that 26 years have passed since this error message
&gt; appeared, and Wayland still considers this feature experimental?
&gt; 
&gt; Make sure it works, and applications will implement it.
&gt; Why should applications implement a feature that they themselves describe as
&gt; experimental rather than fundamental?

Wayland is dated, but not that dated. This bug has been recycled for some reason, but it dates back to KDE 3.
In any case, Wayland is now 18 yo, I also believe that they are old enough to implement at least the basic functions of other desktop systems.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2496752</commentid>
    <comment_count>159</comment_count>
    <who name="Lehmeier">r.lehmeier</who>
    <bug_when>2026-02-20 18:03:49 +0000</bug_when>
    <thetext>As I see it, after 18 years, it should be able to do more than just the basic functions.
If everyone is supposed to/wants to switch to it, then it should be possible to use it to its full potential and not point out that important functions are only experimental.

Then maybe I should go back to X11 after all. Session restoration has supposedly been working there again for about 6 months.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2496785</commentid>
    <comment_count>160</comment_count>
    <who name="kaminata">linux_rulez</who>
    <bug_when>2026-02-20 19:26:55 +0000</bug_when>
    <thetext>We&apos;re far from Wayland ready and I have serious concerns about the end of support of X11.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2496811</commentid>
    <comment_count>161</comment_count>
    <who name="Guido">guido.iodice</who>
    <bug_when>2026-02-20 20:31:52 +0000</bug_when>
    <thetext>(In reply to Lehmeier from comment #159)
&gt; As I see it, after 18 years, it should be able to do more than just the
&gt; basic functions.

(In reply to kaminata from comment #160)
&gt; We&apos;re far from Wayland ready and I have serious concerns about the end of
&gt; support of X11.

I agree. But this is no accident; it&apos;s part of Wayland&apos;s history and its current development. Wayland was always primarily designed for embedded/entertainment systems. So not for the desktop. This explains why the protocol we are discussing is still experimental despite being an almost basic feature for a desktop system, while the protocol for tablets has been merged 10 years ago, and HDR is already in the staging phase, even though it is not essential on the desktop but is for entertainment systems.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2496899</commentid>
    <comment_count>162</comment_count>
    <who name="Nate Graham">nate</who>
    <bug_when>2026-02-21 02:20:52 +0000</bug_when>
    <thetext>This is a bug report, not a forum thread. Please avoid random complaining that doesn&apos;t help anyone work on or resolve the issue itself. Thanks!</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2496974</commentid>
    <comment_count>163</comment_count>
    <who name="Lehmeier">r.lehmeier</who>
    <bug_when>2026-02-21 08:48:00 +0000</bug_when>
    <thetext>I don&apos;t want to complain, but I would like to make it clear that Wayland should not be installed if it does not have the necessary functions on board. 
It is always presented as if Wayland were the ultimate solution, but it has not even made it past the beta stage—at least in terms of the required range of functions.
This should be a priority for further development.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2497573</commentid>
    <comment_count>164</comment_count>
    <who name="Arjen Hiemstra">ahiemstra</who>
    <bug_when>2026-02-23 13:00:26 +0000</bug_when>
    <thetext>*** Bug 516471 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>167611</attachid>
            <date>2024-03-22 15:02:07 +0000</date>
            <delta_ts>2024-03-22 15:02:07 +0000</delta_ts>
            <desc>attachment-839626-0.html</desc>
            <filename>attachment-839626-0.html</filename>
            <type>text/html</type>
            <size>1199</size>
            <attacher name="Alan Prescott">alanjprescott</attacher>
            
              <data encoding="base64">PGRpdiBkaXI9Imx0ciI+PGRpdj5XaGF0IENsYXNzaWZpY2F0aW9uIGFuZCBQcm9kdWN0IHNob3Vs
ZCBJIHJlcG9ydCBzZXNzaW9uIHJlc3RvcmUgYnVncyBpbj88L2Rpdj48ZGl2PkkmIzM5O2QgcmF0
aGVyIG5vdCB1c2UgJnF1b3Q7SSBkb24mIzM5O3Qga25vdyZxdW90OyBpZiB0aGVyZSYjMzk7cyBz
b21ldGhpbmcgbW9yZSBhY2N1cmF0ZTxicj48L2Rpdj48ZGl2Pjxicj48L2Rpdj48ZGl2PjxkaXY+
PGRpdiBkaXI9Imx0ciIgY2xhc3M9ImdtYWlsX3NpZ25hdHVyZSIgZGF0YS1zbWFydG1haWw9Imdt
YWlsX3NpZ25hdHVyZSI+PGRpdj5BbGFuIFByZXNjb3R0PC9kaXY+DQo8ZGl2PjxhIGhyZWY9Im1h
aWx0bzphbGFuanByZXNjb3R0QGdtYWlsLmNvbSIgdGFyZ2V0PSJfYmxhbmsiPmFsYW5qcHJlc2Nv
dHRAZ21haWwuY29tPC9hPjwvZGl2PjwvZGl2PjwvZGl2Pjxicj48L2Rpdj48L2Rpdj48YnI+PGRp
diBjbGFzcz0iZ21haWxfcXVvdGUiPjxkaXYgZGlyPSJsdHIiIGNsYXNzPSJnbWFpbF9hdHRyIj5P
biBGcmksIDIyIE1hciAyMDI0IGF0IDE2OjAwLCBOYXRlIEdyYWhhbSAmbHQ7PGEgaHJlZj0ibWFp
bHRvOmJ1Z3ppbGxhX25vcmVwbHlAa2RlLm9yZyI+YnVnemlsbGFfbm9yZXBseUBrZGUub3JnPC9h
PiZndDsgd3JvdGU6PGJyPjwvZGl2PjxibG9ja3F1b3RlIGNsYXNzPSJnbWFpbF9xdW90ZSIgc3R5
bGU9Im1hcmdpbjowcHggMHB4IDBweCAwLjhleDtib3JkZXItbGVmdDoxcHggc29saWQgcmdiKDIw
NCwyMDQsMjA0KTtwYWRkaW5nLWxlZnQ6MWV4Ij48YSBocmVmPSJodHRwczovL2J1Z3Mua2RlLm9y
Zy9zaG93X2J1Zy5jZ2k/aWQ9MTUzMjkiIHJlbD0ibm9yZWZlcnJlciIgdGFyZ2V0PSJfYmxhbmsi
Pmh0dHBzOi8vYnVncy5rZGUub3JnL3Nob3dfYnVnLmNnaT9pZD0xNTMyOTwvYT48YnI+DQo8YnI+
DQotLS0gQ29tbWVudCAjOTAgZnJvbSBOYXRlIEdyYWhhbSAmbHQ7PGEgaHJlZj0ibWFpbHRvOm5h
dGVAa2RlLm9yZyIgdGFyZ2V0PSJfYmxhbmsiPm5hdGVAa2RlLm9yZzwvYT4mZ3Q7IC0tLTxicj4N
ClNlc3Npb24gcmVzdG9yZSBpcyB1bnJlbGF0ZWQgdG8gdGhpcyBmZWF0dXJlIHJlcXVlc3QuPGJy
Pg0KPGJyPg0KLS0gPGJyPg0KWW91IGFyZSByZWNlaXZpbmcgdGhpcyBtYWlsIGJlY2F1c2U6PGJy
Pg0KWW91IGFyZSBvbiB0aGUgQ0MgbGlzdCBmb3IgdGhlIGJ1Zy48L2Jsb2NrcXVvdGU+PC9kaXY+
DQo=
</data>

          </attachment>
      

    </bug>

</bugzilla>