[konsole] [Bug 481504] New: OSC-8 embedded URL only work after switching to same(!!!!) profile

Charlemagne Lasse bugzilla_noreply at kde.org
Sun Feb 18 10:32:04 GMT 2024


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

            Bug ID: 481504
           Summary: OSC-8 embedded URL only work after switching to
                    same(!!!!) profile
    Classification: Applications
           Product: konsole
           Version: 22.12.3
          Platform: Debian stable
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: konsole-devel at kde.org
          Reporter: charlemagnelasse at gmail.com
  Target Milestone: ---

SUMMARY

I wanted to test OSC-8 URLs in konsole. So I printed one which links to a
specific line of file. This didn't didn't work at first because this feature is
disabled by default. So I went to "Edit Current Profile" -> Mouse ->
Miscellaneous and made sure following entries are enabled:

1. Underline links
2. Underline files
3. Text editor command: Kate
4. Allow escape sequences for links
5. Allowed link format: http://;https://;file://
6. Require Ctrl key for drag & drop
7. Enable Alternate Screen buffer profile
8. Disable drag & drop menu for files & URLs
9. Allow Ctrl+scrollweel to some text size
10. Preview colors on hover
11. Allow terminal application to handle clicks and drags

(so only "Open files/links by direct click" was not enabled)

Then I've closed konsole and tried following steps:

STEPS TO REPRODUCE
1. Open new konsole
2. run: printf '\e]8;;file:///etc/passwd#line:3\e\\Open passwd line
3\e]8;;\e\\\n'
3. try to click (with ctrl pressed) on the output -> Fails
4. Use Menubar -> Settings -> Switch Profile -> $CURRENT_PROFILE (which is the
default according to settings)
5. run: printf '\e]8;;file:///etc/passwd#line:3\e\\Open passwd line
3\e]8;;\e\\\n'
6. try to click (with ctrl pressed) on the output -> kate opens with
/etc/passwd on line 3

OBSERVED RESULT

First output cannot be clicked. The output after switching (to currently
running) profile is clickable (and works)

EXPECTED RESULT

First + second output is clickable (and works)

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Debian bookworm amd64
(available in About System)
KDE Plasma Version: 5.27.5
KDE Frameworks Version: 5.103.0
Qt Version: 5.15.8

ADDITIONAL INFORMATION

* runs kwin11-wayland
* There is only two profiles available. "Built-in" and "Shell" (which is marked
as default and uses a different color scheme than "Built-in"
* happens with both bash (system default config) and zsh (semantic shell
configuration)

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the konsole-devel mailing list