<?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>424356</bug_id>
          
          <creation_ts>2020-07-18 07:17:33 +0000</creation_ts>
          <short_desc>Desktop objects are sometimes not dodging the panel on startup and icon painting not working</short_desc>
          <delta_ts>2021-03-08 19:49:19 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>10</classification_id>
          <classification>Unmaintained</classification>
          <product>lattedock</product>
          <component>application</component>
          <version>git (master)</version>
          <rep_platform>Manjaro</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>minor</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>0</everconfirmed>
          <reporter>jan.claussen10</reporter>
          <assigned_to name="Michail Vourlakos">mvourlakos</assigned_to>
          
          
          <cf_commitlink>https://invent.kde.org/plasma/latte-dock/commit/01eb69bbe5f6f19f9494de4ca0ea158a10b4435d</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>1944650</commentid>
    <comment_count>0</comment_count>
    <who name="">jan.claussen10</who>
    <bug_when>2020-07-18 07:17:33 +0000</bug_when>
    <thetext>SUMMARY
The icons are sometimes not dodging the panel. Sometimes it works, sometimes it doesn&apos;t. No idea why.

STEPS TO REPRODUCE
1. Restart your system

OBSERVED RESULT
The icons are not dodging the dock spontaneously

EXPECTED RESULT
They should always dodge

SOFTWARE/OS VERSIONS
KDE Plasma Version: 5.19.2
KDE Frameworks Version: 5.71.0
Qt Version: 5.15.0</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1944653</commentid>
    <comment_count>1</comment_count>
    <who name="Michail Vourlakos">mvourlakos</who>
    <bug_when>2020-07-18 07:24:09 +0000</bug_when>
    <thetext>1. Show me a screenshot, and which icons?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1944907</commentid>
    <comment_count>2</comment_count>
    <who name="">jan.claussen10</who>
    <bug_when>2020-07-19 15:09:33 +0000</bug_when>
    <thetext>I meant the Desktop object. My description was not very precise https://i.imgur.com/Z4PTBBs.png</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1944974</commentid>
    <comment_count>3</comment_count>
    <who name="Michail Vourlakos">mvourlakos</who>
    <bug_when>2020-07-19 18:06:38 +0000</bug_when>
    <thetext>If you close Latte and start it again, it works OK afterwards?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1944992</commentid>
    <comment_count>4</comment_count>
    <who name="">jan.claussen10</who>
    <bug_when>2020-07-19 20:16:44 +0000</bug_when>
    <thetext>No, it doesn’t make a difference. I just tried it</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1945008</commentid>
    <comment_count>5</comment_count>
    <who name="Michail Vourlakos">mvourlakos</who>
    <bug_when>2020-07-19 22:44:17 +0000</bug_when>
    <thetext>If you run Latte from cmd with, latte-dock -d you should get an output that plasma was informed about geometries, do you get any such output? Especially when you switch between different running activities.

2. How did you install Latte git version?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2009351</commentid>
    <comment_count>6</comment_count>
    <who name="Michail Vourlakos">mvourlakos</who>
    <bug_when>2021-03-06 16:50:32 +0000</bug_when>
    <thetext>how can I reproduce this in my system?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2009454</commentid>
    <comment_count>7</comment_count>
    <who name="">jan.claussen10</who>
    <bug_when>2021-03-06 23:02:29 +0000</bug_when>
    <thetext>Didn’t see your previous message. No idea how to reproduce it. Sometimes it works, sometimes it doesn’t. I can fix it by killing plasmashell and Latte. After restarting both it usually works. Might be related to Plasma. Will give you the demanded info tomorrow.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2009524</commentid>
    <comment_count>8</comment_count>
    <who name="">jan.claussen10</who>
    <bug_when>2021-03-07 08:44:15 +0000</bug_when>
    <thetext>So I just ran the debug output: https://pastebin.com/ZUJ2Htbm
There are some lines referring to a &quot;wrong location&quot; of the geometry in line 127-128 for example. Is that what you mean?

I also realized that when the icons are not dodging, the icon painting is  also not working. I just restarted Latte and it is not the issue. It is dissolved after plasmashell is restarted.

I ran latte-dock -d again and the output looks just the same https://pastebin.com/AnX5sDaM</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2009525</commentid>
    <comment_count>9</comment_count>
    <who name="">jan.claussen10</who>
    <bug_when>2021-03-07 08:47:58 +0000</bug_when>
    <thetext>Maybe plasmashell is started before some relevant service is up? Which service could that be? Just an assumption... I will file a bug in plasmashell and link it to this one.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2009527</commentid>
    <comment_count>10</comment_count>
    <who name="">jan.claussen10</who>
    <bug_when>2021-03-07 08:55:07 +0000</bug_when>
    <thetext>Linking here as well https://bugs.kde.org/show_bug.cgi?id=434094</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2009540</commentid>
    <comment_count>11</comment_count>
    <who name="Michail Vourlakos">mvourlakos</who>
    <bug_when>2021-03-07 09:43:40 +0000</bug_when>
    <thetext>Git commit 01eb69bbe5f6f19f9494de4ca0ea158a10b4435d by Michail Vourlakos.
Committed on 07/03/2021 at 09:43.
Pushed by mvourlakos into branch &apos;master&apos;.

update desktop geometry on startup

--when Plasma is started much later than Latte
the Plasma::Extended::ScreenGeometries should enable
its broadcasting interface when Plasma is first
registered in DBus

M  +11   -2    app/plasma/extended/screengeometries.cpp
M  +3    -0    app/plasma/extended/screengeometries.h

https://invent.kde.org/plasma/latte-dock/commit/01eb69bbe5f6f19f9494de4ca0ea158a10b4435d</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2009541</commentid>
    <comment_count>12</comment_count>
    <who name="Michail Vourlakos">mvourlakos</who>
    <bug_when>2021-03-07 09:44:31 +0000</bug_when>
    <thetext>that should fix the desktop icons issue.. if the painting issue is still valid please open a new bug report with details how to reproduce.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2009949</commentid>
    <comment_count>13</comment_count>
    <who name="">jan.claussen10</who>
    <bug_when>2021-03-08 15:40:04 +0000</bug_when>
    <thetext>I has not changed anything unfortunately.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2009981</commentid>
    <comment_count>14</comment_count>
    <who name="Michail Vourlakos">mvourlakos</who>
    <bug_when>2021-03-08 16:32:10 +0000</bug_when>
    <thetext>(In reply to jan.claussen10 from comment #13)
&gt; I has not changed anything unfortunately.

works perfectly in my system</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2010071</commentid>
    <comment_count>15</comment_count>
    <who name="">jan.claussen10</who>
    <bug_when>2021-03-08 19:49:19 +0000</bug_when>
    <thetext>I believe you. Think it is related
to plasmashell and maybe some settings I made. From experience most bugs I find are no Latte bugs anyway ;) We‘ll see if the dev from plasma finds something</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>