D28107: Fix overlayIcon sometimes not visible

David Redondo noreply at phabricator.kde.org
Tue Mar 17 23:10:33 GMT 2020


davidre added a comment.


  In D28107#629521 <https://phabricator.kde.org/D28107#629521>, @kmaterka wrote:
  
  > Yep, icons in SNI are a mess...
  >  Icons are processed in `StatusNotifierItemSource`, including overlay - that's were this should be fixed. From you comment I see it won't be easy...
  >  This is a workaround, it works, but makes the code even more messy.
  >
  > So... if you are brave enough, you can rewrite icon handling in SNI. Idea is to:
  >
  > - remove custom icon handling code from `StatusNotifierItemSource`
  > - pass data directly to QML
  > - move icon display logic to QML
  >
  >   What do you think?
  
  
  That was my initial idea but @broulik said
  
  > cant really change that though
  >  data engines are basically public api
  >  i.e. no behavior changes
  
  So we can't just remove `Icon` from the engine. We could keep `Icon` around for legacy and introduce `IconPixmap` and friends would be an indea

REPOSITORY
  R120 Plasma Workspace

REVISION DETAIL
  https://phabricator.kde.org/D28107

To: davidre, kmaterka, #plasma, broulik, davidedmundson
Cc: anthonyfieroni, plasma-devel, Orage, LeGast00n, The-Feren-OS-Dev, cblack, jraleigh, zachus, fbampaloukas, GB_2, ragreen, ZrenBot, ngraham, himcesjf, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, ahiemstra, mart
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20200317/993088f1/attachment.html>


More information about the Plasma-devel mailing list