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

            Bug ID: 513684
           Summary: Konsole path recognition error when it is
                    `/home/${USER}foo`
    Classification: Applications
           Product: konsole
      Version First 25.12.0
       Reported In:
          Platform: Arch Linux
                OS: Linux
            Status: REPORTED
          Severity: minor
          Priority: NOR
         Component: tabbar
          Assignee: [email protected]
          Reporter: [email protected]
  Target Milestone: ---

## SUMMARY
Konsole incorrectly parses the path string passed via the OSC 7 escape
sequence, leading to an incorrect terminal window/tab title (expected
username+suffix, got `~a`).

## STEPS TO REPRODUCE
1. `echo -e "\033]7;file:///home/$(whoami)a\033\\"`

## OBSERVED RESULT
Tab/Window's title become `~a`

## EXPECTED RESULT
Show the real dir name `fooa` in title. (If $USER is "foo")

## SOFTWARE/OS VERSIONS
`kinfo`:  
```plaintext
Operating System: Arch Linux 
KDE Plasma Version: 6.5.4
KDE Frameworks Version: 6.21.0
Qt Version: 6.10.1
Kernel Version: 6.18.1-zen1-2-zen (64-bit)
Graphics Platform: Wayland
Processors: 22 × Intel® Core™ Ultra 7 155H
Memory: 32 GiB of RAM (30.5 GiB usable)
Graphics Processor: Intel® Arc
```

## ADDITIONAL INFORMATION
Initially, I reported this in the fish-shell repository's issues:
https://github.com/fish-shell/fish-shell/issues/12195  
However, it is not fish-shell's wrong.

This problem does not affect Dolphin.

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

Reply via email to