<?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>474614</bug_id>
          
          <creation_ts>2023-09-17 13:25:20 +0000</creation_ts>
          <short_desc>After few hours adding a new icon to the panels is not possible.</short_desc>
          <delta_ts>2023-10-19 03:46:20 +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.4</version>
          <rep_platform>Kubuntu</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>WORKSFORME</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>NOR</priority>
          <bug_severity>major</bug_severity>
          <target_milestone>1.0</target_milestone>
          
          
          <everconfirmed>0</everconfirmed>
          <reporter name="Faryad">faryad.kashef</reporter>
          <assigned_to name="Plasma Bugs List">plasma-bugs-null</assigned_to>
          <cc>faryad.kashef</cc>
    
    <cc>nate</cc>
    
    <cc>niccolo.venerandi</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>2253538</commentid>
    <comment_count>0</comment_count>
    <who name="Faryad">faryad.kashef</who>
    <bug_when>2023-09-17 13:25:20 +0000</bug_when>
    <thetext>SUMMARY
***
NOTE: If you are reporting a crash, please try to attach a backtrace with debug symbols.
See https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports
***
After a while adding a new icon to panels is not possible. It is either not being added to the panel or if it does, it overlaps the first icon and cannot be selected or removed. Nothing can fix it other than changing this parameter:

home/username/.config/kdeglobals -&gt; Allow Expansion=true (setting it to true fixed the problem for me after a log out).

Before finding this setting, I removed the whole kdeglobals and rebooted. It fixed the problem. Then I decided to find out the root cause and for me, changing that false to true fixed the problem and the panel started to function properly after a reboot. 

STEPS TO REPRODUCE
1. Create an empty top panel and add shortcuts, icons, spacer to it. I made the panel center and customized it a bit.
2. After a while, try to add more icons. 
3. Keep trying adding different shortcuts or icons. 

OBSERVED RESULT
Changing the parameter (or removing kdeglobals) fixed the problem. 

EXPECTED RESULT
Fix the bug!

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: Kubuntu 23.04
(available in About System)
KDE Plasma Version: 5.27.4
KDE Frameworks Version: 5.104.0
Qt Version: 5.15.8

ADDITIONAL INFORMATION</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2253813</commentid>
    <comment_count>1</comment_count>
    <who name="Nate Graham">nate</who>
    <bug_when>2023-09-18 19:51:59 +0000</bug_when>
    <thetext>&gt; Allow Expansion=true
What does this setting do? Where did you find the advice to set it in your kdeglobals file?

Also can you clarify how you&apos;re adding icons to your panel? Is it by pinning them to the Task Manager, or are you actually creating standalone Icon widgets?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2253975</commentid>
    <comment_count>2</comment_count>
      <attachid>161715</attachid>
    <who name="Faryad">faryad.kashef</who>
    <bug_when>2023-09-19 10:29:40 +0000</bug_when>
    <thetext>Created attachment 161715
attachment-1034726-0.html

Hi Nate,

No one told me what to do and I found the setting based on my experience.
I&apos;ve been a system administrator for 15 years now. I read logs, compared
default files with my files, did A/B test etc.

I&apos;m not sure what the setting does. Actually it is you (KDE) who should
tell me. :-) but it fixes the problem.

I create empty panels and drag and drop icons on them. But it doesn&apos;t make
any difference. When that bug happens, you can&apos;t add any icons to the
panels (including KDE&apos;s default panel). When you drag the icon to the
panel, nothing happens or on rare occasions the icon is being added to the
panel but overlaps another icon and it becomes very difficult to remove it.

I hope this is enough information.

Regards
Faryad

On Mon, Sep 18, 2023, 9:52 PM Nate Graham &lt;bugzilla_noreply@kde.org&gt; wrote:

&gt; https://bugs.kde.org/show_bug.cgi?id=474614
&gt;
&gt; Nate Graham &lt;nate@kde.org&gt; changed:
&gt;
&gt;            What    |Removed                     |Added
&gt;
&gt; ----------------------------------------------------------------------------
&gt;              Status|REPORTED                    |NEEDSINFO
&gt;                  CC|                            |nate@kde.org
&gt;          Resolution|---                         |WAITINGFORINFO
&gt;
&gt; --- Comment #1 from Nate Graham &lt;nate@kde.org&gt; ---
&gt; &gt; Allow Expansion=true
&gt; What does this setting do? Where did you find the advice to set it in your
&gt; kdeglobals file?
&gt;
&gt; Also can you clarify how you&apos;re adding icons to your panel? Is it by
&gt; pinning
&gt; them to the Task Manager, or are you actually creating standalone Icon
&gt; widgets?
&gt;
&gt; --
&gt; You are receiving this mail because:
&gt; You are on the CC list for the bug.
&gt; You reported the bug.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2254038</commentid>
    <comment_count>3</comment_count>
    <who name="Nate Graham">nate</who>
    <bug_when>2023-09-19 15:53:34 +0000</bug_when>
    <thetext>Source code inspection says that the &quot;Allow Expansion&quot; key only affects KDirOperator instances, and only when placed within the &quot;[View Style]&quot; group. If you didn&apos;t set it in that group, then it&apos;s in fact having no effect at all. Even if you did, there is no logical connection between KDirOperator and the code for the panel, so any perceived connection between the two is going to end up having been coincidence, random chance due to cosmic rays or solar flares, etc.

So let&apos;s re-focus on how to reproduce the problem. Can you write up some specific and detailed steps to reproduce? Even the smallest detail helps; for example if you make your empty panel non-maximized, don&apos;t forget to mention that. If you add widgets to it, explain exactly how you do it, which widgets they are, and what order they&apos;re added.

Thanks!</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2256794</commentid>
    <comment_count>4</comment_count>
    <who name="Bug Janitor Service">bug-janitor</who>
    <bug_when>2023-10-04 03:47:02 +0000</bug_when>
    <thetext>Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED &gt; WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2259967</commentid>
    <comment_count>5</comment_count>
    <who name="Bug Janitor Service">bug-janitor</who>
    <bug_when>2023-10-19 03:46:20 +0000</bug_when>
    <thetext>This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now closed as RESOLVED &gt; WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>161715</attachid>
            <date>2023-09-19 10:29:41 +0000</date>
            <delta_ts>2023-09-19 10:29:41 +0000</delta_ts>
            <desc>attachment-1034726-0.html</desc>
            <filename>attachment-1034726-0.html</filename>
            <type>text/html</type>
            <size>2727</size>
            <attacher name="Faryad">faryad.kashef</attacher>
            
              <data encoding="base64">PGRpdiBkaXI9ImF1dG8iPjxkaXY+SGkgTmF0ZSw8L2Rpdj48ZGl2IGRpcj0iYXV0byI+PGJyPjwv
ZGl2PjxkaXYgZGlyPSJhdXRvIj5ObyBvbmUgdG9sZCBtZSB3aGF0IHRvIGRvIGFuZCBJIGZvdW5k
IHRoZSBzZXR0aW5nIGJhc2VkIG9uIG15IGV4cGVyaWVuY2UuIEkmIzM5O3ZlIGJlZW4gYSBzeXN0
ZW0gYWRtaW5pc3RyYXRvciBmb3IgMTUgeWVhcnMgbm93LiBJIHJlYWQgbG9ncywgY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