<?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>499024</bug_id>
          
          <creation_ts>2025-01-22 19:29:29 +0000</creation_ts>
          <short_desc>Binding loop in DelegatePopup.qml for notification popups with inline reply fields</short_desc>
          <delta_ts>2025-03-07 23:37:45 +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>
          
          
          <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>1</everconfirmed>
          <reporter name="Nate Graham">nate</reporter>
          <assigned_to name="Plasma Bugs List">plasma-bugs-null</assigned_to>
          <cc>kde</cc>
    
    <cc>notmart</cc>
          
          <cf_commitlink>https://invent.kde.org/plasma/plasma-workspace/-/commit/5e643503a56b80a2ce039311d077277985daec00</cf_commitlink>
          <cf_versionfixedin>6.4.0</cf_versionfixedin>
          <cf_sentryurl></cf_sentryurl>
          <votes>0</votes>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>2391732</commentid>
    <comment_count>0</comment_count>
    <who name="Nate Graham">nate</who>
    <bug_when>2025-01-22 19:29:29 +0000</bug_when>
    <thetext>Every time I get a notification that has an inline reply field, a binding loop warning is printed to the console:

Jan 22 12:27:19 Liberator plasmashell[46905]: file:///home/nate/kde/usr/share/plasma/plasmoids/org.kde.plasma.notifications/contents/ui/delegates/DelegatePopup.qml:136:17: QML Body: Binding loop detected for property &quot;width&quot;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2405859</commentid>
    <comment_count>1</comment_count>
    <who name="Bug Janitor Service">bug-janitor</who>
    <bug_when>2025-03-07 20:27:36 +0000</bug_when>
    <thetext>A possibly relevant merge request was started @ https://invent.kde.org/plasma/plasma-workspace/-/merge_requests/5300</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2405888</commentid>
    <comment_count>2</comment_count>
    <who name="Nate Graham">nate</who>
    <bug_when>2025-03-07 23:37:45 +0000</bug_when>
    <thetext>Git commit 5e643503a56b80a2ce039311d077277985daec00 by Nate Graham, on behalf of Christoph Wolk.
Committed on 07/03/2025 at 23:10.
Pushed by ngraham into branch &apos;master&apos;.

applets/notifications: remove binding loop in popup

The notification popup sets the width of the body to equal the width
of its parent ScrollView&apos;s Flickable. This does not necessarily cause
a binding loop in a Layout, but it can if the body is long enough to
require wrapping (which esablishes the loop) but not long enough to
create a scroll bar (which would break the loop).

Instead, we bind the width to the ScrollView&apos;s width minus the scroll
bar&apos;s width, which avoids the binding loop.
FIXED-IN: 6.4.0

M  +1    -1    applets/notifications/package/contents/ui/delegates/DelegatePopup.qml

https://invent.kde.org/plasma/plasma-workspace/-/commit/5e643503a56b80a2ce039311d077277985daec00</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>