<?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>488619</bug_id>
          
          <creation_ts>2024-06-17 13:46:13 +0000</creation_ts>
          <short_desc>With 17-6-2024 git master everything, all notification pop-ups are positioned in top-left corner</short_desc>
          <delta_ts>2026-05-05 22:05:04 +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>Notifications</component>
          <version>master</version>
          <rep_platform>Other</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          <see_also>https://bugs.kde.org/show_bug.cgi?id=519278</see_also>
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>regression</keywords>
          <priority>VHI</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>1.0</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Nate Graham">nate</reporter>
          <assigned_to name="Marco Martin">notmart</assigned_to>
          <cc>kde</cc>
          
          <cf_commitlink>https://invent.kde.org/plasma/plasma-workspace/-/commit/9c872a54287a1ea84326a71001386e4040b7c5a4</cf_commitlink>
          <cf_versionfixedin>6.2</cf_versionfixedin>
          <cf_sentryurl></cf_sentryurl>
          <votes>0</votes>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>2328646</commentid>
    <comment_count>0</comment_count>
    <who name="Nate Graham">nate</who>
    <bug_when>2024-06-17 13:46:13 +0000</bug_when>
    <thetext>This is a regression from 14-6-2024 git master.

Symptoms are:
- All pop-ups appear in the top-left screen corner
- All user-visible positioning options are ignored
- Notifications overlap one another rather than appearing in a vertical column</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2328647</commentid>
    <comment_count>1</comment_count>
    <who name="Nate Graham">nate</who>
    <bug_when>2024-06-17 13:46:55 +0000</bug_when>
    <thetext>Others can reproduce it too; marking as CONFIRMED and bumping priority.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2328648</commentid>
    <comment_count>2</comment_count>
    <who name="Nate Graham">nate</who>
    <bug_when>2024-06-17 13:48:31 +0000</bug_when>
    <thetext>This is caused by https://invent.kde.org/plasma/plasma-workspace/-/commit/009136c8c4f02d19f1a1ba40b28c5d8960235487; reverting that fixes the issue.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2328651</commentid>
    <comment_count>3</comment_count>
    <who name="Nate Graham">nate</who>
    <bug_when>2024-06-17 14:01:17 +0000</bug_when>
    <thetext>That commit was reverted, so this is fixed now.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2332490</commentid>
    <comment_count>4</comment_count>
    <who name="Marco Martin">notmart</who>
    <bug_when>2024-06-27 07:50:44 +0000</bug_when>
    <thetext>Git commit 9c872a54287a1ea84326a71001386e4040b7c5a4 by Marco Martin.
Committed on 27/06/2024 at 07:50.
Pushed by mart into branch &apos;master&apos;.

applets/systemtray: Fix shortcut activation for hidden applets

The systray applet was opened by a connection to activated in the
PlasmoidItem container element. This element is a delegate, of a Repeater
for active applets, and for the internal GridView in the popup for the passive applets.

Being a Delegate we can&apos;t be guaranteed it will be instantiated at startup,
in particular it won&apos;t be unless the first time the gridview is visible,
so the connections to the activated signal won&apos;t work until the first time the
applet is open. Also, if there would ever be enough icons in the popup to
cause a scrollbar, it will destroy the PopupItems out of view.

Move the connection to the activate signal that will cause the popup to open
inside an Instantiator in the main qml file: with an Instantiator we will always
be guaranteed every delegate (which is just a Connections)
will always be instantiated all the time

Depends on https://invent.kde.org/plasma/libplasma/-/merge_requests/1145
Related: bug 480173
FIXED-IN: 6.2

M  +1    -8    applets/systemtray/package/contents/ui/HiddenItemsView.qml
M  +0    -1    applets/systemtray/package/contents/ui/items/PlasmoidItem.qml
M  +59   -8    applets/systemtray/package/contents/ui/main.qml

https://invent.kde.org/plasma/plasma-workspace/-/commit/9c872a54287a1ea84326a71001386e4040b7c5a4</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>