Bug 498526 - Wish: Document browser: allow open file
Summary: Wish: Document browser: allow open file
Status: VERIFIED FIXED
Alias: None
Product: kate
Classification: Applications
Component: general (other bugs)
Version First Reported In: Git
Platform: Compiled Sources Linux
: NOR wishlist
Target Milestone: ---
Assignee: KWrite Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-01-11 12:49 UTC by Allen Winter
Modified: 2025-01-31 12:52 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Allen Winter 2025-01-11 12:49:33 UTC
This is a wish to add "Open" on a folder's context menu  in Document view.

currently the menu has "Reload", "Close" , "Expand..", "Collapse..", etc.
I'm asking to add an Open option that would allow opening a new file within the selected folder
Comment 1 Waqar Ahmed 2025-01-31 09:23:40 UTC
Git commit f2d4ca2a1956b6edb69af5652568327b7feff7f7 by Waqar Ahmed.
Committed on 31/01/2025 at 09:23.
Pushed by waqar into branch 'master'.

Add file open action to Document context menu

M  +8    -0    addons/filetree/katefiletree.cpp

https://invent.kde.org/utilities/kate/-/commit/f2d4ca2a1956b6edb69af5652568327b7feff7f7
Comment 2 Allen Winter 2025-01-31 11:59:40 UTC
thanks Waqar.
could you make the open file dialog start at the dir of the selected folder?

currently it seems to open at the parent dir of the current document
Comment 3 Waqar Ahmed 2025-01-31 12:43:09 UTC
Git commit 88c9e9cda3da29bbf00583bd64ffa360d9fa50a1 by Waqar Ahmed.
Committed on 31/01/2025 at 12:42.
Pushed by waqar into branch 'master'.

Make Documents context menu Open action more context relevant

Instead of using the generic "Open..." action, create a new action that
opens the File Dialog in the directory of current document. Also, hide
the action if the current item is a "widget" or "open widgets" action

M  +17   -4    addons/filetree/katefiletree.cpp

https://invent.kde.org/utilities/kate/-/commit/88c9e9cda3da29bbf00583bd64ffa360d9fa50a1
Comment 4 Allen Winter 2025-01-31 12:52:38 UTC
works perfectly now.
thank you