Bug 484890 - URL hint numbering has offset
Summary: URL hint numbering has offset
Status: REPORTED
Alias: None
Product: konsole
Classification: Applications
Component: general (show other bugs)
Version: 24.02.1
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: Konsole Developer
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-04-01 21:07 UTC by Frank Steinmetzger
Modified: 2024-04-01 21:55 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Frank Steinmetzger 2024-04-01 21:07:52 UTC
SUMMARY
When I press Ctrl to get keyboard hints of URLs, there is an offset of 1. Numbering starts at 2, and when I press 2, for example, then the URL labelled with 3 is opened.

STEPS TO REPRODUCE
Have konsole display a few URLs, like in mutt, or an editor.
Trigger URL hints.

OBSERVED RESULT
The numbering labels show their value + 1.


SOFTWARE/OS VERSIONS
Operating System: Arch Linux 
KDE Plasma Version: 6.0.3
KDE Frameworks Version: 6.0.0
Qt Version: 6.6.3
Kernel Version: 6.8.2-arch2-1 (64-bit)
Graphics Platform: X11
Comment 1 Frank Steinmetzger 2024-04-01 21:55:41 UTC
Addendum with a different observation. I just viewed a message in mutt and wanted to open an address from the message. This time the numbering started at 1, but the offset was 2. In detail:

The mutt sidebar showed two local paths at the left edge (like /var/spool/mail), which got the hints 1 and 2. And then there is one URL in the displayed mail, labelled 3. But I need to press Ctrl+1 to open it. At first I thought this happens because the URL appears a few lines above the two paths. So I mocked it in an editor and moved the URL around, and I still had to press Ctrl+1 when the URL was below the paths. Are local paths perhaps skipped?