Bug 510712 - Bizarre hoover over text behaviour
Summary: Bizarre hoover over text behaviour
Status: RESOLVED FIXED
Alias: None
Product: konsole
Classification: Applications
Component: general (other bugs)
Version First Reported In: 22.12.3
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Konsole Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-10-17 08:03 UTC by davidblunkett
Modified: 2025-11-29 16:15 UTC (History)
2 users (show)

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


Attachments
pink square tan demo (13.26 KB, image/png)
2025-10-17 08:03 UTC, davidblunkett
Details
attachment-269544-0.html (164 bytes, text/html)
2025-10-17 16:04 UTC, ninjalj
Details
attachment-1053275-0.html (1.44 KB, text/html)
2025-10-21 09:32 UTC, tcanabrava
Details

Note You need to log in before you can comment on or make changes to this bug.
Description davidblunkett 2025-10-17 08:03:13 UTC
Created attachment 185853 [details]
pink square tan demo

If I hoover the mouse pointer over the word "tan" konsole produces a strange pink square.  I've not noticed it do this for any other word and I've not down anything that makes "tan" special (such as search).  It doesn't work for "ta" and it doesn't work for the string "tan" inside another string (eg stan and tango are normal). It respects certain white space so " tan " " tan(" ")tan" "*tan" both produce the square but "stan" doesn't.

I can only presume this is some feature I'm unaware of gone wrong but what it is I've no idea.
Comment 1 ninjalj 2025-10-17 16:04:11 UTC
Created attachment 185865 [details]
attachment-269544-0.html

Thst would be the show color when hovering option. You would get a similar
result hovering over the words blue or red, or over some color in
hexadecimal format.
Comment 2 davidblunkett 2025-10-19 20:36:31 UTC
Ok - that works - colours - I suppose "tan" might be a colour.

What possible reason is there for coding this into konsole? how do I turn this off? I can't help thinking this is completely un-useful bloat!
Comment 3 argonel 2025-10-20 01:50:57 UTC
(In reply to davidblunkett from comment #2)

> Ok - that works - colours - I suppose "tan" might be a colour.

It uses the color names found in https://www.w3.org/TR/SVG11/types.html#ColorKeywords.

> ... how do I turn this off?

The setting is "Preview Colors on hover" in the profile's Mouse -> Miscellaneous settings.

n.b. Prior to Konsole version 22.07 the setting was called "Allow Color Filters". As of version 24.05 (released 23 May 2024), the preview has a caption.
Comment 4 davidblunkett 2025-10-21 09:26:31 UTC
Thanks - I've disabled it.

I can't really understand why there might be a usage case for such a feature!  (especially enabled by default)
Comment 5 tcanabrava 2025-10-21 09:32:47 UTC
Created attachment 185959 [details]
attachment-1053275-0.html

dont be closed minded.

there is a lot of developers that uses konsole + a text editor to program
graphical interfaces and by hovering on a hexadecimal color makes their
lifes easier.

its essily disabled, and its enabled by default for discoverability.

if you think less than 1kb of code is bloat, man, nothing to say here.


On Tue, 21 Oct 2025 at 11:26 davidblunkett <bugzilla_noreply@kde.org> wrote:

> https://bugs.kde.org/show_bug.cgi?id=510712
>
> --- Comment #4 from davidblunkett <dav1dblunk3tt@hotmail.com> ---
> Thanks - I've disabled it.
>
> I can't really understand why there might be a usage case for such a
> feature!
> (especially enabled by default)
>
> --
> You are receiving this mail because:
> You are the assignee for the bug.
Comment 6 Christoph Cullmann 2025-11-29 16:15:47 UTC
I think others have a use for that feature and you were able to turn it off.
With that this is done.