<?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>468009</bug_id>
          
          <creation_ts>2023-03-31 18:10:05 +0000</creation_ts>
          <short_desc>Panel length saved in absolute terms, which makes maximized panels non-portable to larger screen sizes</short_desc>
          <delta_ts>2023-11-06 20:15:33 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>4</classification_id>
          <classification>Plasma</classification>
          <product>plasmashell</product>
          <component>Panel</component>
          <version>5.27.3</version>
          <rep_platform>Other</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>NOR</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>1.0</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="PK">pieterkristensen</reporter>
          <assigned_to name="Plasma Bugs List">plasma-bugs-null</assigned_to>
          <cc>nate</cc>
    
    <cc>niccolo.venerandi</cc>
    
    <cc>plasma-bugs-null</cc>
    
    <cc>samuelvenable</cc>
          
          <cf_commitlink>https://invent.kde.org/plasma/plasma-desktop/-/commit/8bad74fe9ed43af3081b8dd97cc17524b82c2d77</cf_commitlink>
          <cf_versionfixedin>6.0</cf_versionfixedin>
          <cf_sentryurl></cf_sentryurl>
          <votes>0</votes>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>2219547</commentid>
    <comment_count>0</comment_count>
      <attachid>157748</attachid>
    <who name="PK">pieterkristensen</who>
    <bug_when>2023-03-31 18:10:05 +0000</bug_when>
    <thetext>Created attachment 157748
diff of two org.kde.plasma.desktop-layout.js files of the same theme applied to machines with different screens.

SUMMARY
***
In a self-made global theme there is a maximized panel (full screen width or full screen heidth). When I use this global theme on a computer with other screen specifications the maximized panel is rendered wrong (too long/too short)
***


STEPS TO REPRODUCE
1. create global theme with the look-and-feel explorer
2. apply the theme to a machine with other screen properties


OBSERVED RESULT
maximized panel too small or too wide

EXPECTED RESULT
maximized panel is also just from side to side and fits.

SOFTWARE/OS VERSIONS
Operating System: KDE neon 5.27
KDE Plasma Version: 5.27.3
KDE Frameworks Version: 5.104.0
Qt Version: 5.15.8
Kernel Version: 5.19.0-35-generic (64-bit)
Graphics Platform: Wayland
Processors: 4 × Intel® Celeron® J4105 CPU @ 1.50GHz
Memory: 7.4 GiB of RAM
Graphics Processor: Mesa Intel® UHD Graphics 600
ADDITIONAL INFORMATION</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2219549</commentid>
    <comment_count>1</comment_count>
    <who name="PK">pieterkristensen</who>
    <bug_when>2023-03-31 18:17:14 +0000</bug_when>
    <thetext>In this first attachment there is the &quot;diff&quot; file of two org.kde.plasma.desktop-layout.js-files of the same global theme-with-maximized-panel, applied to two machines with different screen properties and saved on each machine as global theme.
This diff-file is best opened with kde-kompare.
In my eyes it would make the theme much more portable when it didn&apos;t read:
&quot;maximumLength&quot;: 67.5,
-            &quot;minimumLength&quot;: 67.5,
+            &quot;maximumLength&quot;: 56.25,
+            &quot;minimumLength&quot;: 56.25,
but something like:
&quot;maximumLength&quot;: maximum
-            &quot;minimumLength&quot;: maximum
+            &quot;maximumLength&quot;: maximum
+            &quot;minimumLength&quot;: maximum</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2220301</commentid>
    <comment_count>2</comment_count>
    <who name="Nate Graham">nate</who>
    <bug_when>2023-04-04 18:53:45 +0000</bug_when>
    <thetext>Indeed, this isn&apos;t ideal.

We should either save maximized state as its own &quot;I&apos;m maximized&quot; state in the config data as you suggest, or else add a bit of logic to infer maximized panel status based on whether the panel had the same length as the screen edge it formerly lived on. That sounds like it would be complicated, so your idea is probably better.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2253853</commentid>
    <comment_count>3</comment_count>
    <who name="Nate Graham">nate</who>
    <bug_when>2023-09-18 20:46:45 +0000</bug_when>
    <thetext>*** Bug 412699 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2263843</commentid>
    <comment_count>4</comment_count>
    <who name="Niccolò Venerandi">niccolo</who>
    <bug_when>2023-11-06 20:15:33 +0000</bug_when>
    <thetext>Git commit 8bad74fe9ed43af3081b8dd97cc17524b82c2d77 by Niccolò Venerandi.
Committed on 06/11/2023 at 21:15.
Pushed by niccolove into branch &apos;master&apos;.

Redesign panel settings with a dialog

This moves all panel options in a single dialog that floats near the panel.
Related: bug 450892, bug 459103, bug 458008, bug 440274, bug 453693, bug 460844, bug 455478, bug 462980, bug 454720, bug 455476, bug 460845, bug 474354, bug 364456
FIXED-IN: 6.0

M  +495  -133  desktoppackage/contents/configuration/PanelConfiguration.qml
D  +0    -305  desktoppackage/contents/configuration/panelconfiguration/MoreSettingsMenu.qml
M  +76   -84   desktoppackage/contents/configuration/panelconfiguration/PanelRepresentation.qml
M  +53   -266  desktoppackage/contents/configuration/panelconfiguration/Ruler.qml
M  +10   -37   desktoppackage/contents/configuration/panelconfiguration/SliderHandle.qml
D  +0    -594  desktoppackage/contents/configuration/panelconfiguration/ToolBar.qml

https://invent.kde.org/plasma/plasma-desktop/-/commit/8bad74fe9ed43af3081b8dd97cc17524b82c2d77</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>157748</attachid>
            <date>2023-03-31 18:10:05 +0000</date>
            <delta_ts>2023-03-31 18:10:05 +0000</delta_ts>
            <desc>diff of two org.kde.plasma.desktop-layout.js files of the same theme applied to machines with different screens.</desc>
            <filename>org.kde.plasma.desktop-layout.diff</filename>
            <type>text/plain</type>
            <size>1369</size>
            <attacher name="PK">pieterkristensen</attacher>
            
              <data encoding="base64">LS0tIC9ob21lL3BpZXRlci9Eb2N1bWVudGVuL2xvb2stYW5kLWZlZWwvdWJ1bnR1L2NvbnRlbnRz
L2xheW91dHMvb3JnLmtkZS5wbGFzbWEuZGVza3RvcC1sYXlvdXQuanMJMjAyMy0wMy0wNSAwODo1
ODoyMy4wMDAwMDAwMDAgKzAxMDAKKysrIC9ob21lL3BpZXRlci9Eb2N1bWVudGVuL2xvb2stYW5k
LWZlZWw0ay91YnVudHUvY29udGVudHMvbGF5b3V0cy9vcmcua2RlLnBsYXNtYS5kZXNrdG9wLWxh
eW91dC5qcwkyMDIzLTAzLTMxIDA3OjQxOjI0LjAwMDAwMDAwMCArMDIwMApAQCAtMTEsNiArMTEs
NyBAQAogICAgICAgICAgICAgICAgICAgICAiSXRlbUdlb21ldHJpZXMtMTIzNHg4MjMiOiAiIiwK
ICAgICAgICAgICAgICAgICAgICAgIkl0ZW1HZW9tZXRyaWVzLTEzMTB4ODc0IjogIiIsCiAgICAg
ICAgICAgICAgICAgICAgICJJdGVtR2VvbWV0cmllcy0xMzkzeDkyOSI6ICIiLAorICAgICAgICAg
ICAgICAgICAgICAiSXRlbUdlb21ldHJpZXMtMTYwMHg5MDAiOiAiIiwKICAgICAgICAgICAgICAg
ICAgICAgIkl0ZW1HZW9tZXRyaWVzLTE5MjB4MTA4MCI6ICIiLAogICAgICAgICAgICAgICAgICAg
ICAiSXRlbUdlb21ldHJpZXMtMjE2MHgxNDQwIjogIiIsCiAgICAgICAgICAgICAgICAgICAgICJJ
dGVtR2VvbWV0cmllc0hvcml6b250YWwiOiAiIiwKQEAgLTkzLDggKzk0LDggQEAKICAgICAgICAg
ICAgICAgICAgICAgIndhbGxwYXBlcnBsdWdpbiI6ICJvcmcua2RlLmltYWdlIgogICAgICAgICAg
ICAgICAgIH0sCiAgICAgICAgICAgICAgICAgIi9Db25maWdEaWFsb2ciOiB7Ci0gICAgICAgICAg
ICAgICAgICAgICJEaWFsb2dIZWlnaHQiOiAiMTA4MCIsCi0gICAgICAgICAgICAgICAgICAgICJE
aWFsb2dXaWR0aCI6ICIyNTEiCisgICAgICAgICAgICAgICAgICAgICJEaWFsb2dIZWlnaHQiOiAi
OTAwIiwKKyAgICAgICAgICAgICAgICAgICAgIkRpYWxvZ1dpZHRoIjogIjI0NSIKICAgICAgICAg
ICAgICAgICB9LAogICAgICAgICAgICAgICAgICIvQ29uZmlndXJhdGlvbiI6IHsKICAgICAgICAg
ICAgICAgICAgICAgIlByZWxvYWRXZWlnaHQiOiAiNDIiCkBAIC0xMDMsOCArMTA0LDggQEAKICAg
ICAgICAgICAgICJoZWlnaHQiOiA0LjI1LAogICAgICAgICAgICAgImhpZGluZyI6ICJub3JtYWwi
LAogICAgICAgICAgICAgImxvY2F0aW9uIjogImxlZnQiLAotICAgICAgICAgICAgIm1heGltdW1M
ZW5ndGgiOiA2Ny41LAotICAgICAgICAgICAgIm1pbmltdW1MZW5ndGgiOiA2Ny41LAorICAgICAg
ICAgICAgIm1heGltdW1MZW5ndGgiOiA1Ni4yNSwKKyAgICAgICAgICAgICJtaW5pbXVtTGVuZ3Ro
IjogNTYuMjUsCiAgICAgICAgICAgICAib2Zmc2V0IjogMAogICAgICAgICB9LAogICAgICAgICB7
Cg==
</data>

          </attachment>
      

    </bug>

</bugzilla>