https://bugs.kde.org/show_bug.cgi?id=525103
Bug ID: 525103
Summary: Running git blame using delta produces erratic
clickable links because OSC 8 hyperlinks going through
pagers
Classification: Applications
Product: konsole
Version First master
Reported In:
Platform: Other
OS: Linux
Status: REPORTED
Severity: normal
Priority: NOR
Component: emulation
Assignee: [email protected]
Reporter: [email protected]
Target Milestone: ---
DESCRIPTION
Only every other link in links produces by git-delta is clickable. It has
something to do with OSC 8 characters being emitted more than expected by pager
and confusing Konsole, but frankly, I do not understand the mechanism. LLM
found it for me and made a fix. I tested it and make sure I can provide
reproducible instructions, but terminal mechanics are way too sublime for me to
understand in a reasonable timeframe:-).
STEPS TO REPRODUCE
0. go to Edit Current Profile..Mouse..Miscellaneous and uncheck "Enable
Alternate Screen buffer scrolling".
1. Download git-delta and put this into your git config
[core]
pager = delta
[delta]
hyperlinks = true
hyperlinks-commit-link-format =
"https://invent.kde.org/plasma/plasma-workspace/-/commit/{commit}"
2. run
git clone https://invent.kde.org/plasma/plasma-workspace.git
cd plasma-workspace
git blame klipper/klipper.cpp
OBSERVED RESULT
Only every second link is clickable
EXPECTED RESULT
All links are clickable.
SOFTWARE/OS VERSIONS
Operating System: Fedora Linux 44
KDE Plasma Version: 6.7.4
KDE Frameworks Version: 6.30.0
Qt Version: 6.11.1
Kernel Version: 7.1.10-200.fc44.x86_64 (64-bit)
Graphics Platform: Wayland
Processors: 16 × Intel® Core™ i9-9880H CPU @ 2.30GHz
Memory: 64 GiB of RAM (62.5 GiB usable)
Graphics Processor 1: Intel® UHD Graphics 630
Graphics Processor 2: NVIDIA GeForce GTX 1650 with Max-Q Design
ADDITIONAL INFORMATION
for i in $(seq 1 12); do
printf '\033]8;;https://example.com/%d\033\\line %02d - ctrl-click
me\033]8;;\033\\\033]8;;\033\\\n' "$i" "$i"
done
it produces twelve lines, only six have clickable links.
--
You are receiving this mail because:
You are watching all bug changes.