<?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>478443</bug_id>
          
          <creation_ts>2023-12-12 16:33:09 +0000</creation_ts>
          <short_desc>Maximized state not remembered across launches</short_desc>
          <delta_ts>2024-11-06 22:01:27 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>2</classification_id>
          <classification>Applications</classification>
          <product>systemsettings</product>
          <component>general</component>
          <version>6.1.4</version>
          <rep_platform>Fedora RPMs</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>regression, usability, wayland-only</keywords>
          <priority>NOR</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Nate Graham">nate</reporter>
          <assigned_to name="Plasma Bugs List">plasma-bugs-null</assigned_to>
          <cc>akselmo</cc>
    
    <cc>bugseforuns</cc>
    
    <cc>EpicTux123</cc>
    
    <cc>liangrui.ch</cc>
    
    <cc>nepnep</cc>
    
    <cc>nicolas.fella</cc>
    
    <cc>waynejwoww</cc>
          
          <cf_commitlink>https://invent.kde.org/plasma/plasma-systemmonitor/-/commit/1cafc0d6347012aa7567d6efeeef0f504f3b8890</cf_commitlink>
          <cf_versionfixedin>Plasma 6.3.0 with Frameworks 6.9</cf_versionfixedin>
          <cf_sentryurl></cf_sentryurl>
          <votes>0</votes>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>2273329</commentid>
    <comment_count>0</comment_count>
    <who name="Nate Graham">nate</who>
    <bug_when>2023-12-12 16:33:09 +0000</bug_when>
    <thetext>Plasma 6 Wayland with everything from git master.

STEPS TO REPRODUCE
1. Be on Wayland
2. Launch System Settings
3. Maximize its window
4. Quit the app
5. Re-launch the app

OBSERVED RESULT
System Settings launches windowed, at the size it had in step 2.

EXPECTED RESULT
System Settings launched maximized.

ADDITIONAL INFORMATION
In step 3, if you resize the window instead of maximizing it, everything works as expected.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2319024</commentid>
    <comment_count>1</comment_count>
    <who name="">waynejwoww</who>
    <bug_when>2024-05-11 17:09:14 +0000</bug_when>
    <thetext>Can confirm
Fedora 40, Plasma 6.0.4, wayland</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2323099</commentid>
    <comment_count>2</comment_count>
    <who name="BryanLiang">liangrui.ch</who>
    <bug_when>2024-05-29 15:58:06 +0000</bug_when>
    <thetext>I&apos;m using Arch Linux with KDE Plasma 6.0.5, and I can confirm this issue still exists.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2327002</commentid>
    <comment_count>3</comment_count>
    <who name="Nate Graham">nate</who>
    <bug_when>2024-06-12 13:47:53 +0000</bug_when>
    <thetext>Can also confirm.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2327671</commentid>
    <comment_count>4</comment_count>
    <who name="Nate Graham">nate</who>
    <bug_when>2024-06-13 22:50:45 +0000</bug_when>
    <thetext>Probably more fallout from porting away from Kxmlgui.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2330174</commentid>
    <comment_count>5</comment_count>
    <who name="BryanLiang">liangrui.ch</who>
    <bug_when>2024-06-21 10:40:25 +0000</bug_when>
    <thetext>Not only systemsettings, filelight cannot remember the maximized state across launches too.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2330306</commentid>
    <comment_count>6</comment_count>
    <who name="Nate Graham">nate</who>
    <bug_when>2024-06-21 17:38:59 +0000</bug_when>
    <thetext>It&apos;s a separate issue in each app; please open a new bug report for each app you encounter it in.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2336903</commentid>
    <comment_count>7</comment_count>
    <who name="Patrick Silva">bugseforuns</who>
    <bug_when>2024-07-12 12:51:59 +0000</bug_when>
    <thetext>Same on Plasma 6.1.2.

Operating System: Arch Linux 
KDE Plasma Version: 6.1.2
KDE Frameworks Version: 6.3.0
Qt Version: 6.7.2
Graphics Platform: Wayland</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2343256</commentid>
    <comment_count>8</comment_count>
    <who name="Nate Graham">nate</who>
    <bug_when>2024-08-05 17:58:15 +0000</bug_when>
    <thetext>*** Bug 491261 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2343262</commentid>
    <comment_count>9</comment_count>
    <who name="EpicTux123">EpicTux123</who>
    <bug_when>2024-08-05 18:01:45 +0000</bug_when>
    <thetext>I can confirm this also happens on X11.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2345109</commentid>
    <comment_count>10</comment_count>
    <who name="John Veness">john.kde</who>
    <bug_when>2024-08-12 15:49:08 +0000</bug_when>
    <thetext>*** Bug 487197 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2345192</commentid>
    <comment_count>11</comment_count>
    <who name="Nate Graham">nate</who>
    <bug_when>2024-08-12 18:51:11 +0000</bug_when>
    <thetext>*** Bug 490506 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2348677</commentid>
    <comment_count>12</comment_count>
    <who name="">waynejwoww</who>
    <bug_when>2024-08-25 22:02:38 +0000</bug_when>
    <thetext>problem still exists in plasma 6.1.4

Operating System: Fedora Linux 40
KDE Plasma Version: 6.1.4
KDE Frameworks Version: 6.5.0
Qt Version: 6.7.2
Kernel Version: 6.10.6-200.fc40.x86_64 (64-bit)
Graphics Platform: Wayland</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2354782</commentid>
    <comment_count>13</comment_count>
    <who name="Akseli Lahtinen">akselmo</who>
    <bug_when>2024-09-16 13:29:30 +0000</bug_when>
    <thetext>Can confirm 

Operating System: Fedora Linux 40
KDE Plasma Version: 6.1.90
KDE Frameworks Version: 6.7.0
Qt Version: 6.7.2
Kernel Version: 6.10.9-200.fc40.x86_64 (64-bit)
Graphics Platform: Wayland
Processors: 12 × AMD Ryzen 5 3600 6-Core Processor
Memory: 15.5 GiB of RAM
Graphics Processor: AMD Radeon RX 6600</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2354830</commentid>
    <comment_count>14</comment_count>
    <who name="Bug Janitor Service">bug-janitor</who>
    <bug_when>2024-09-16 14:40:09 +0000</bug_when>
    <thetext>A possibly relevant merge request was started @ https://invent.kde.org/plasma/systemsettings/-/merge_requests/328</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2355298</commentid>
    <comment_count>15</comment_count>
    <who name="Akseli Lahtinen">akselmo</who>
    <bug_when>2024-09-17 13:19:21 +0000</bug_when>
    <thetext>Git commit 830dac8c953182e665286055345e4e8f13530f19 by Akseli Lahtinen.
Committed on 17/09/2024 at 13:19.
Pushed by akselmo into branch &apos;master&apos;.

SettingsBase.cpp: Restore window state and position

Moved setAutoSaveSettings after initApplication, because otherwise
the window we apply the geometry settings from stateConfig wouldnt exist.
FIXED-IN: 6.2.0

M  +2    -2    app/SettingsBase.cpp

https://invent.kde.org/plasma/systemsettings/-/commit/830dac8c953182e665286055345e4e8f13530f19</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2355300</commentid>
    <comment_count>16</comment_count>
    <who name="Akseli Lahtinen">akselmo</who>
    <bug_when>2024-09-17 13:20:51 +0000</bug_when>
    <thetext>Git commit b0cf9563bf1d4c7f599085d70d79636ffe3b11b0 by Akseli Lahtinen.
Committed on 17/09/2024 at 13:19.
Pushed by akselmo into branch &apos;Plasma/6.2&apos;.

SettingsBase.cpp: Restore window state and position

Moved setAutoSaveSettings after initApplication, because otherwise
the window we apply the geometry settings from stateConfig wouldnt exist.
FIXED-IN: 6.2.0


(cherry picked from commit 830dac8c953182e665286055345e4e8f13530f19)

f22526bd SettingsBase.cpp: Restore window state and position
b770cf77 setAutoSaveSettings after initApplication

Co-authored-by: Akseli Lahtinen &lt;akselmo@akselmo.dev&gt;

M  +2    -2    app/SettingsBase.cpp

https://invent.kde.org/plasma/systemsettings/-/commit/b0cf9563bf1d4c7f599085d70d79636ffe3b11b0</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2372423</commentid>
    <comment_count>17</comment_count>
    <who name="Nate Graham">nate</who>
    <bug_when>2024-11-06 22:01:27 +0000</bug_when>
    <thetext>Git commit 1cafc0d6347012aa7567d6efeeef0f504f3b8890 by Nate Graham.
Committed on 06/11/2024 at 22:01.
Pushed by ngraham into branch &apos;master&apos;.

Port to KConfig.WindowStateSaver

Part of https://invent.kde.org/frameworks/kconfig/-/issues/12

Fewer bugs, less custom code to maintain, we get standardized
state saving semantics for free, and the data gets stored in
the state config rather than the settings config.
FIXED-IN: Plasma 6.3.0 with Frameworks 6.9

M  +7    -33   src/Main.qml
M  +0    -3    src/main.cpp
M  +0    -9    src/systemmonitor.kcfg

https://invent.kde.org/plasma/plasma-systemmonitor/-/commit/1cafc0d6347012aa7567d6efeeef0f504f3b8890</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>