https://bugs.kde.org/show_bug.cgi?id=452766

Igor Kushnir <igor...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |igor...@gmail.com

--- Comment #1 from Igor Kushnir <igor...@gmail.com> ---
Take a look at
https://invent.kde.org/kdevelop/kdevelop/-/blob/3427bd11ff34b18d3efdec3b4f23c65c0316a6e0/app/main.cpp#L720.
KDevelop looks for a session that contains the project specified on the command
line. If such a session exists, it is opened. Otherwise, the last used session
is opened. 

You can debug this with:
QT_LOGGING_RULES='kdevelop.app.debug=true' kdevelop -p '/path/to/project'

Note that the project URL must match the one stored in the session verbatim,
because unfortunately KDevelop does not seamlessly resolve symlinks.

You could implement creating and opening a new session with the project passed
on the command line if there is no suitable existing session.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to