<?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>434094</bug_id>
          
          <creation_ts>2021-03-07 08:54:26 +0000</creation_ts>
          <short_desc>Plasmashell loads broken profile on login when an external monitor is connected</short_desc>
          <delta_ts>2021-08-16 23:13:36 +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>generic-multiscreen</component>
          <version>5.21.2</version>
          <rep_platform>Manjaro</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>370180</dup_id>
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>NOR</priority>
          <bug_severity>minor</bug_severity>
          <target_milestone>1.0</target_milestone>
          
          
          <everconfirmed>0</everconfirmed>
          <reporter>jan.claussen10</reporter>
          <assigned_to name="Aleix Pol">aleixpol</assigned_to>
          <cc>csibesz995</cc>
    
    <cc>nate</cc>
    
    <cc>plasma-bugs-null</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>2009526</commentid>
    <comment_count>0</comment_count>
    <who name="">jan.claussen10</who>
    <bug_when>2021-03-07 08:54:26 +0000</bug_when>
    <thetext>SUMMARY
Well, I am experiencing issues in Latte which only dissolve after I restart plasmashell. Namely the desktop icon dodging and panel icon painting functions. 
See: https://bugs.kde.org/show_bug.cgi?id=424356#add_comment

These issues usually occur after booting and are dissolved by killing and restarting plasmashell and latte-dock afterwards. Only restarting latte-dock doesn&apos;t help, so I guess it is related to plasmashell.

STEPS TO REPRODUCE
1. Boot the system with latte-dock loading automatically

OBSERVED RESULT
Icons are not dodging and icon painting based on wallpaper are not working


SOFTWARE/OS VERSIONS
KDE Plasma Version: 5.21.2
KDE Frameworks Version: 5.79.0
Qt Version: 5.15.2</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2009946</commentid>
    <comment_count>1</comment_count>
    <who name="Marco Martin">notmart</who>
    <bug_when>2021-03-08 15:27:57 +0000</bug_when>
    <thetext>when it happens, can you from a terminal:
* launch xprop
* click on the lattedock panel
* paste here what the command tells about that window</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2009947</commentid>
    <comment_count>2</comment_count>
    <who name="">jan.claussen10</who>
    <bug_when>2021-03-08 15:37:56 +0000</bug_when>
    <thetext>_NET_WM_USER_TIME(CARDINAL) = 47302
_KDE_NET_WM_BLUR_BEHIND_REGION(CARDINAL) = 
_KDE_NET_WM_ACTIVITIES(STRING) = &quot;00000000-0000-0000-0000-000000000000&quot;
_NET_WM_ALLOWED_ACTIONS(ATOM) = _NET_WM_ACTION_CHANGE_DESKTOP
WM_STATE(WM_STATE):
                window state: Normal
                icon window: 0x0
_NET_WM_STRUT(CARDINAL) = 0, 0, 32, 0
_NET_WM_STRUT_PARTIAL(CARDINAL) = 0, 0, 32, 0, 0, 0, 0, 0, 0, 2559, 0, 0
_NET_WM_DESKTOP(CARDINAL) = 4294967295
_NET_WM_STATE(ATOM) = _NET_WM_STATE_ABOVE, _NET_WM_STATE_STAYS_ON_TOP, _NET_WM_STATE_SKIP_TASKBAR, _NET_WM_STATE_SKIP_PAGER, _KDE_NET_WM_STATE_SKIP_SWITCHER
_KDE_NET_WM_USER_CREATION_TIME(CARDINAL) = 14459
_KDE_NET_WM_DESKTOP_FILE(UTF8_STRING) = &quot;latte-dock&quot;
_NET_WM_ICON(CARDINAL) =        Icon (16 x 16)
        Icon (22 x 22):
        Icon (32 x 32):
        Icon (48 x 48):
        Icon (64 x 64):
        Icon (128 x 128):
XdndAware(ATOM) = BITMAP
WM_NAME(STRING) = &quot;#view#1&quot;
_NET_WM_NAME(UTF8_STRING) = &quot;#view#1 — Latte Dock&quot;
_MOTIF_WM_HINTS(_MOTIF_WM_HINTS) = 0x2, 0x1, 0x0, 0x0, 0x0
_NET_WM_WINDOW_TYPE(ATOM) = _NET_WM_WINDOW_TYPE_DOCK
_XEMBED_INFO(_XEMBED_INFO) = 0x0, 0x1
WM_CLIENT_LEADER(WINDOW): window id # 0x2e0001c
WM_HINTS(WM_HINTS):
                Client accepts input or input focus: False
                window id # of group leader: 0x2e0001c
WM_CLIENT_MACHINE(STRING) = &quot;X380-Yoga&quot;
_NET_WM_PID(CARDINAL) = 1959
_NET_WM_SYNC_REQUEST_COUNTER(CARDINAL) = 48234523
WM_CLASS(STRING) = &quot;latte-dock&quot;, &quot;lattedock&quot;
WM_PROTOCOLS(ATOM): protocols  WM_DELETE_WINDOW, WM_TAKE_FOCUS, _NET_WM_PING, _NET_WM_SYNC_REQUEST
WM_NORMAL_HINTS(WM_SIZE_HINTS):
                user specified location: 0, 0
                user specified size: 2560 by 32
                program specified minimum size: 2560 by 32
                program specified maximum size: 2560 by 32
                window gravity: Static</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2014158</commentid>
    <comment_count>3</comment_count>
      <attachid>136563</attachid>
    <who name="">jan.claussen10</who>
    <bug_when>2021-03-10 19:36:14 +0000</bug_when>
    <thetext>Created attachment 136563
attachment-3406-0.html

I think I have found the source of the problem but no solution yet. When I boot the laptop all of my widgets are gone an old wallpaper is shown. When I then quit and restart plasmashell, the widgets are there, the new wallpaper is set and Latte works again. What could be the reason that plasmashell loads an old profile at boot?

On März 8 2021, at 4:27 pm, Marco Martin &lt;bugzilla_noreply@kde.org&gt; wrote:
&gt; https://bugs.kde.org/show_bug.cgi?id=434094
&gt;
&gt; --- Comment #1 from Marco Martin &lt;notmart@gmail.com&gt; ---
&gt; when it happens, can you from a terminal:
&gt; * launch xprop
&gt; * click on the lattedock panel
&gt; * paste here what the command tells about that window
&gt;
&gt; --
&gt; You are receiving this mail because:
&gt; You reported the bug.
&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2014579</commentid>
    <comment_count>4</comment_count>
    <who name="">jan.claussen10</who>
    <bug_when>2021-03-11 18:25:58 +0000</bug_when>
    <thetext>Hmm this is really weird. I tried deleting all the files in ~/.cache/plasmashell and also ~/.cache/icon-cache.kcache and I get exactly the same behavior.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2014625</commentid>
    <comment_count>5</comment_count>
    <who name="">jan.claussen10</who>
    <bug_when>2021-03-11 20:23:16 +0000</bug_when>
    <thetext>So it seems like there are two session profiles. A fault one is loaded at login and the working one that contains all the applets from ~/.config/plasma-org.kde.plasma.desktop-appletsrc loads after reloading plasmashell by entering plasmashell —-replace

Why could this be? I know it is probably a configuration error, but I don‘t want to reinstall the system because of it or create a new user just yet</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2016728</commentid>
    <comment_count>6</comment_count>
    <who name="">jan.claussen10</who>
    <bug_when>2021-03-19 08:49:53 +0000</bug_when>
    <thetext>I discovered yesterday that this only happens, when there is an external monitor is connected. It seems like plasmashell first loads a secondary profile for the secondary monitor. After replacing the shell it loads the first monitor profile. I just don&apos;t understand why the secondary profile is broken and Latte dock cannot load.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2045517</commentid>
    <comment_count>7</comment_count>
    <who name="">csibesz995</who>
    <bug_when>2021-07-06 19:28:24 +0000</bug_when>
    <thetext>Hi, same problem here.
I only wanted KDE to use my second HDMI monitor, not the built-on laptop.
Obervations: 
 - desktop icons load but not at the place i left them
 - Task manager does not load at all (possibly thinks it should be on first monitor)
 - plasmashell —-replace &amp; fixes task manager and icons
 - but not the desktop effects like blur, transparency 
So i tried all the kde display configs possible etc
Now that seems to work is configuring /etc/X11/xorg.conf.d/10-monitor.conf
Section &quot;Monitor&quot;
    Identifier &quot;VGA-1-2&quot;
    Option &quot;Ignore&quot; &quot;true&quot;
EndSection

Section &quot;Monitor&quot;
    Identifier &quot;LVDS1&quot;
    Option &quot;Ignore&quot; &quot;true&quot;
EndSection

Trick is ignoring built-in monitor (LVDS1) in X before KDE has chance to detect it. (Somewhy i had VGA too so ignored that one too).
You can look up monitor id with xrandr.
Hope this info helps someone like me.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2053803</commentid>
    <comment_count>8</comment_count>
    <who name="Nate Graham">nate</who>
    <bug_when>2021-08-16 23:12:12 +0000</bug_when>
    <thetext>

*** This bug has been marked as a duplicate of bug 356225 ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2053807</commentid>
    <comment_count>9</comment_count>
    <who name="Nate Graham">nate</who>
    <bug_when>2021-08-16 23:13:36 +0000</bug_when>
    <thetext>Oops, wrong one.

*** This bug has been marked as a duplicate of bug 370180 ***</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>136563</attachid>
            <date>2021-03-10 19:36:15 +0000</date>
            <delta_ts>2021-03-10 19:36:15 +0000</delta_ts>
            <desc>attachment-3406-0.html</desc>
            <filename>attachment-3406-0.html</filename>
            <type>text/html</type>
            <size>913</size>
            <attacher>jan.claussen10</attacher>
            
              <data encoding="base64">PGRpdj5JIHRoaW5rIEkgaGF2ZSBmb3VuZCB0aGUgc291cmNlIG9mIHRoZSBwcm9ibGVtIGJ1dCBu
byBzb2x1dGlvbiB5ZXQuIFdoZW4gSSBib290IHRoZSBsYXB0b3AgYWxsIG9mIG15IHdpZGdldHMg
YXJlIGdvbmUgYW4gb2xkIHdhbGxwYXBlciBpcyBzaG93bi4gV2hlbiBJIHRoZW4gcXVpdCBhbmQg
cmVzdGFydCBwbGFzbWFzaGVsbCwgdGhlIHdpZGdldHMgYXJlIHRoZXJlLCB0aGUgbmV3IHdhbGxw
YXBlciBpcyBzZXQgYW5kIExhdHRlI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