Bug 470345 - Configuring toolbars in KF6-ported apps fails
Summary: Configuring toolbars in KF6-ported apps fails
Status: RESOLVED FIXED
Alias: None
Product: frameworks-kxmlgui
Classification: Frameworks and Libraries
Component: general (show other bugs)
Version: unspecified
Platform: Other Linux
: NOR major
Target Milestone: ---
Assignee: kdelibs bugs
URL:
Keywords: qt6
Depends on:
Blocks:
 
Reported: 2023-05-28 03:58 UTC by Nate Graham
Modified: 2023-07-07 18:20 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Nate Graham 2023-05-28 03:58:22 UTC
STEPS TO REPRODUCE
1. Open a KF6-ported QtWidgets-based KXMPGUI-using app, such as Dolphin, Gwenview or Konsole
2. Right-click on toolbar and see no "Configure Toolbars" menu item
3. Click hamburger menu > Configure > Configure toolbars
4. Edit the toolbar layout in some way and press OK or Apply


OBSERVED RESULT
Toolbar visually flickers for a moment, but the requested change is not made. If you close the toolbar configuration window and open it again, the changes you just made have been lost


EXPECTED RESULT
Toolbar configuration works as normal like it still does in KF5-using apps such as Ark


ADDITIONAL INFORMATION
After performing the steps to reproduce, if you deliberately open the KF5 version of the app, the changes you made to its toolbar in the KF6 version are reflected there.


SOFTWARE/OS VERSIONS
Operating System: Fedora Linux 38
KDE Plasma Version: 5.27.80
KDE Frameworks Version: 5.240.0
Qt Version: 6.5.0
Kernel Version: 6.2.15-300.fc38.x86_64 (64-bit)
Graphics Platform: X11
Processors: 8 × Intel® Core™ i7-10510U CPU @ 1.80GHz
Memory: 15.2 GiB of RAM
Graphics Processor: Mesa Intel® UHD Graphics
Comment 1 Justin Zobel 2023-06-03 04:02:55 UTC
Can confirm both issues, lack of configure in right-click and no change to the toolbar apart from flicker when configuring via the hamburger menu.
Comment 2 Nicolas Fella 2023-07-07 11:40:57 UTC
> 2. Right-click on toolbar and see no "Configure Toolbars" menu item

https://bugs.kde.org/show_bug.cgi?id=471978
Comment 4 Nicolas Fella 2023-07-07 18:20:55 UTC
Git commit 9ee32413240e4e0a48bd8708f52cf2c08a54675b by Nicolas Fella.
Committed on 07/07/2023 at 11:55.
Pushed by nicolasfella into branch 'master'.

Fix rc file lookup

The dir is still kxmlgui5 almost everywhere and hasn't been migrated to 6

Only one place was adjusted, breaking the lookup
Related: bug 470574

M  +1    -1    src/kxmlguiclient.cpp

https://invent.kde.org/frameworks/kxmlgui/-/commit/9ee32413240e4e0a48bd8708f52cf2c08a54675b