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

            Bug ID: 485677
           Summary: CLI always opens new windows as if called with --new
    Classification: Applications
           Product: kate
           Version: 24.02.2
          Platform: Microsoft Windows
                OS: Microsoft Windows
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: application
          Assignee: kwrite-bugs-n...@kde.org
          Reporter: benni.b...@gmail.com
  Target Milestone: ---

SUMMARY

I configured TotalCommander to open files with Kate via:

C:\Users\benjamin.buch\AppData\Local\Programs\Kate\bin\kate.exe "%1"

I tested with the latest release and the nightly build from

- https://cdn.kde.org/ci-builds/utilities/kate/release-24.02/windows/
- https://cdn.kde.org/ci-builds/utilities/kate/master/windows/# (2024-04-08)

Whenever I open a file, a new window is opened with this file. Thats the
behavior that should be trigger if I use:

C:\Users\benjamin.buch\AppData\Local\Programs\Kate\bin\kate.exe --new "%1"

Withtout --new, the expected behavior is to open the file in an existing Kate
window.

STEPS TO REPRODUCE

PowerShell:

PS C:\Users\benjamin.buch>
C:\Users\benjamin.buch\AppData\Local\Programs\Kate\bin\kate.exe
c:\Users\benjamin.buch\AppData\Local\Programs\Kate\bin\data\applications\org.kde.kate.desktop
PS C:\Users\benjamin.buch>
C:\Users\benjamin.buch\AppData\Local\Programs\Kate\bin\kate.exe
C:\Users\benjamin.buch\AppData\Local\Programs\Kate\bin\data\applications\org.kde.kwalletd6.desktop

OBSERVED RESULT

Two seperate Kate Windows.

EXPECTED RESULT

Both files open in the same Kate Window.

SOFTWARE/OS VERSIONS
Windows: 11
KDE Plasma Version: 24.02.2
KDE Frameworks Version: 6.0.0
Qt Version: 6.6.2

ADDITIONAL INFORMATION

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

Reply via email to