https://bugs.kde.org/show_bug.cgi?id=423643

            Bug ID: 423643
           Summary: plasma-framework commit 7c4f5c5f1 on qt-5.15.0 broke
                    the systray (and more)
           Product: frameworks-plasma
           Version: unspecified
          Platform: Other
                OS: Other
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: components
          Assignee: notm...@gmail.com
          Reporter: 1i5t5.dun...@cox.net
                CC: plasma-b...@kde.org
  Target Milestone: ---

I'm on live-git frameworks and plasma via gentoo/kde's live-git ebuilds in the
kde overlay.  qt-5.15.0

Plasma-framework's commit 7c4f5c5f1 broke the systray on qt-5.15.0.  The icons
still appear and tooltips show up, but normal systray apps won't respond to
clicks.  ("Normal" systray apps, as opposed to plasmoids in the tray, which
continue to work.)  Backing off a commit to 94d7efaec gets them working again.

With the 7c4 commit, killing plasmashell and restarting it from a konsole
window to get logging gives me this when I click on any of the unresponsive
systray icons:

file:///share/plasma/plasmoids/org.kde.plasma.private.systemtray/contents/ui/items/StatusNotifierItem.qml:64:
Error: Unknown method return type: ServiceJob*

(The path is /share because I have a reverse usrmerge, /usr is a symlink: /usr
-> . so share ends up directly under /.)

The error is the same but with a different line number depending on the button
clicked.  All such lines are calls to service.startOperationCall(operation). 
Doing a search for startOperationCall in libs turned up libKF5Plasma.so*, and a
query on owner said plasma.  A few plasma-frameworks rebuilds later and I had
the culprit commit.

Note that I'm on qt-5.15.0, the #if conditional used repeatedly in that commit.
 So either something's wrong with the code protected by that condition, or the
condition itself is wrong (maybe it's 5.15.1+ or something).  

I'm not a dev so don't ask me to explain what it means, but given a specific
commit to look at along with the error above, I can see in that commit:

+#if QT_VERSION >= QT_VERSION_CHECK(5, 15, 0)
+    qmlRegisterInterface<Plasma::ServiceJob>(uri, 1);
+#else
     qmlRegisterInterface<Plasma::ServiceJob>("ServiceJob");
+#endif

And knowing I'm on qt 5.15...

FWIW there's a similar problem with the clipboard applet, which being a
plasmoid still works in general, but if I right-click and select configure, no
configure dialog pops up, but I see this in the konsole tab from which I
restarted plasmashell:

file:///share/plasma/plasmoids/org.kde.plasma.clipboard/contents/ui/clipboard.qml:70:
Error: Unknown method return type: ServiceJob*

grep -r startOperationCall /share/plasma/plasmoids/
lists a bunch of similar calls in other plasmoids, mediacontroller, battery,
device-notifier, etc, most of which I don't run so I don't know if they're
similarly affected, but I'd guess yes.

(It's obviously plasma-framework but I've no idea what component, so I left it
"components".  Unfortunately a quick look at previous bugs to see what other
people used for similar bugs didn't yield anything similar enough to provide a
hint, either.  Additionally, the version is left at "unspecified" because the
"master" version that I would chose if it was there and that I've used on other
products when filing kde bugs, is missing.)

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to