Bug 463416 - Can't directly open folders in Kate anymore.
Summary: Can't directly open folders in Kate anymore.
Status: RESOLVED FIXED
Alias: None
Product: kate
Classification: Applications
Component: application (other bugs)
Version First Reported In: 22.12.0
Platform: Manjaro Linux
: NOR normal
Target Milestone: ---
Assignee: KWrite Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-12-24 05:20 UTC by Will Chen
Modified: 2022-12-31 17:43 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Will Chen 2022-12-24 05:20:38 UTC
SUMMARY
***
You used to be able to open folders directly in Kate when launching, such as from Dolphin or from the terminal.

You can't do that anymore.
***


STEPS TO REPRODUCE
`$ kate PathToMyFolder`

Or right click in Dolphin on a directory and "Open Folder With" Kate.


OBSERVED RESULT
Kate opens in the last project folder with which it was used, not the folder given to it on launch.


EXPECTED RESULT
Kate launches directly with the given folder as the active project.

This is what happens with Kate 22.08.3 from the NixOS 22.11 Nix channel.


SOFTWARE/OS VERSIONS
Linux/KDE Plasma: X
KDE Plasma Version: 5.26.4
KDE Frameworks Version: 5.101.0
Qt Version: 5.15.7
Comment 1 Waqar Ahmed 2022-12-28 05:47:16 UTC
Is the setting:

Configure -> Projects -> "Restore Open Projects" 

checked? If it is, does it work if you disable it?
Comment 2 Christoph Cullmann 2022-12-31 17:43:45 UTC
That was fixed with 87314996fe8c95e1dffb5b0a7f341bf183bc4de9, for 22.12, disabling "Restore Open Projects"  might mitigate it.