Bug 358253 - KXMLGUI::ActionList::plug() log warning "Index xx is not within range (0 - yy" confuses
Summary: KXMLGUI::ActionList::plug() log warning "Index xx is not within range (0 - ...
Status: RESOLVED WORKSFORME
Alias: None
Product: frameworks-kxmlgui
Classification: Frameworks and Libraries
Component: general (show other bugs)
Version: unspecified
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: kdelibs bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-01-20 13:54 UTC by Friedrich W. H. Kossebau
Modified: 2024-09-24 03:47 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Friedrich W. H. Kossebau 2016-01-20 13:54:17 UTC
Since kdelibs4 times there is some log output from KXMLGUI which hints something is wrong, but no actual problem could be seen in the UI.
Given this warning is created with qWarning(), it is always shown on the console log. Which is not perfect (and also obviously never resulted in anyone fixing this ;) ).
So either the warning is silenced, or the root of the problem warned about finally handled.

The warning is from KXMLGUI::ActionList::plug() in kxmlguifactory_p.cpp. It is referenced at least in these bugs:
https://bugs.kde.org/show_bug.cgi?id=304204
https://bugs.kde.org/show_bug.cgi?id=315006 (log appears once a file is loaded)

No time to dive in myself ATM, so noting here for now, perhaps someone else wants to jump into the xmlgui water already and see what triggers that unwanted situation.

To reproduce start Okteta with
    QT_LOGGING_RULES="kf5.*=true" okteta
and load a file.

Reproducible: Always
Comment 1 Justin Zobel 2021-03-09 05:54:04 UTC
Thank you for the bug report.

As this report hasn't seen any changes in 5 years or more, we ask if you can please confirm that the issue still persists.

If this bug is no longer persisting or relevant please change the status to resolved.
Comment 2 Christoph Cullmann 2024-08-25 21:36:52 UTC
Hmm, Kate uses that intensively and I fail to see this in the logs with KF6, could you re-try that?
Comment 3 Bug Janitor Service 2024-09-09 03:46:50 UTC
🐛🧹 ⚠️ This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information, then set the bug status to REPORTED. If there is no change for at least 30 days, it will be automatically closed as RESOLVED WORKSFORME.

For more information about our bug triaging procedures, please read https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging.

Thank you for helping us make KDE software even better for everyone!
Comment 4 Bug Janitor Service 2024-09-24 03:47:12 UTC
🐛🧹 This bug has been in NEEDSINFO status with no change for at least 30 days. Closing as RESOLVED WORKSFORME.