Bug 470848 - Add a view_redisplay_merge MergeLocal entry to ui_standards.rc
Summary: Add a view_redisplay_merge MergeLocal entry to ui_standards.rc
Status: RESOLVED FIXED
Alias: None
Product: frameworks-kxmlgui
Classification: Frameworks and Libraries
Component: general (show other bugs)
Version: 5.106.0
Platform: Debian testing Linux
: NOR wishlist
Target Milestone: ---
Assignee: kdelibs bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-06-09 21:24 UTC by Soren Stoutner
Modified: 2023-06-24 17:31 UTC (History)
0 users

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 Soren Stoutner 2023-06-09 21:24:13 UTC
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>&amp;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.
Comment 1 Soren Stoutner 2023-06-10 20:56:25 UTC
https://invent.kde.org/frameworks/kxmlgui/-/merge_requests/169 addresses this issue.
Comment 2 Bug Janitor Service 2023-06-21 21:06:17 UTC
A possibly relevant merge request was started @ https://invent.kde.org/frameworks/kxmlgui/-/merge_requests/173
Comment 3 Albert Astals Cid 2023-06-24 17:28:46 UTC
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
Comment 4 Albert Astals Cid 2023-06-24 17:31:09 UTC
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