Would you consider adding <MergeLocal name="view_redisplay_merge"/> immediately after <Action name="view_redisplay"/> in ui_standards.rc? The resulting block would look as follows. <Menu name="view"><text>&View</text> <Action name="view_actual_size"/> <Action name="view_fit_to_page"/> <Action name="view_fit_to_width"/> <Action name="view_fit_to_height"/> <Separator/> <MergeLocal name="view_zoom_merge"/> <Action name="view_zoom_in"/> <Action name="view_zoom_out"/> <Action name="view_zoom"/> <Separator/> <Action name="view_redisplay"/> <MergeLocal name="view_redisplay_merge"/> <Separator/> <MergeLocal/> <Separator/> <Action name="fullscreen"/> <MergeLocal name="fullscreen_merge"/> </Menu> I am building a browser based on KDE Frameworks and need to add a menu entry that reloads the page while bypassing the cache. I would prefer to have this entry immediately below "view_redisplay" without having a separator in between.
https://invent.kde.org/frameworks/kxmlgui/-/merge_requests/169 addresses this issue.
A possibly relevant merge request was started @ https://invent.kde.org/frameworks/kxmlgui/-/merge_requests/173
Git commit 947f0e1c4d39bd90a712ac78c057eb2f8a477379 by Albert Astals Cid, on behalf of Soren Stoutner. Committed on 24/06/2023 at 17:28. Pushed by aacid into branch 'master'. Add a view_redisplay_merge MergeLocal to ui_standards.rc This allows custom actions to be inserted at this point in the menu. M +2 -1 src/ui_standards.rc https://invent.kde.org/frameworks/kxmlgui/-/commit/947f0e1c4d39bd90a712ac78c057eb2f8a477379
Git commit 60f947f3f4ec80f83c196ac84d42d1d7bde4cced by Albert Astals Cid, on behalf of Soren Stoutner. Committed on 24/06/2023 at 17:30. Pushed by aacid into branch 'kf5'. Add a view_redisplay_merge MergeLocal to ui_standards.rc This allows custom actions to be inserted at this point in the menu. (cherry picked from commit 947f0e1c4d39bd90a712ac78c057eb2f8a477379) M +2 -1 src/ui_standards.rc https://invent.kde.org/frameworks/kxmlgui/-/commit/60f947f3f4ec80f83c196ac84d42d1d7bde4cced