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

            Bug ID: 500482
           Summary: Color Picker plugin: Add support for 4-hexdigit colors
    Classification: Applications
           Product: kate
           Version: 24.12.2
          Platform: Arch Linux
                OS: Linux
            Status: REPORTED
          Severity: minor
          Priority: NOR
         Component: part
          Assignee: kwrite-bugs-n...@kde.org
          Reporter: robu...@gmail.com
  Target Milestone: ---

I don't know if this should be classified as a bug or feature request. It may
also be wider reaching than just kate, but this is the only time I've attempted
to use 4-hexdigit colors.

I know in XML (and thus SVG) 4-hexdigit codes are acceptable and correctly
interpreted when displayed through Firefox 135.0.1. With color picker,
currently, having fill="#65D5" does not show the color picker, though it does 8
digit hex codes. If you view an SVG file with the above fill, it will be a
transparent version of the normal shorthand hex color #65D. I'm not sure if
this is a standard in all languages/markups so support for it might be
annoying, but I did not see any mention of it so I wanted to make sure it was
at least on the radar for the future.

STEPS TO REPRODUCE
1. Enable color picker in kate
2. Type a 4-hexdigit code like #65D5

OBSERVED RESULT
No color picker preview appears

EXPECTED RESULT
Color picker should show a color preview as if it were an expanded 8-hexdigit
value. 

SOFTWARE/OS VERSIONS
Operating System: Arch Linux 
KDE Plasma Version: 6.3.1
KDE Frameworks Version: 6.11.0
Qt Version: 6.8.2
Kernel Version: 6.13.2-arch1-1 (64-bit)
Graphics Platform: Wayland

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

Reply via email to