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

            Bug ID: 523757
           Summary: Enabling font features fails if whitespace is present
                    in the feature flag list
    Classification: Applications
           Product: konsole
      Version First 26.04.3
       Reported In:
          Platform: Fedora RPMs
                OS: Linux
            Status: REPORTED
          Severity: minor
          Priority: NOR
         Component: font
          Assignee: [email protected]
          Reporter: [email protected]
                    .com
  Target Milestone: ---

Created attachment 194786
  --> https://bugs.kde.org/attachment.cgi?id=194786&action=edit
screenshot of description containing whitespace

Enabling font features (e.g. ligatures) in Konsole works by specifying a comma
seperate list of features to enable. If whitespace is used in the list, the
neighbouring feature (the feature whose pair of "," contains the whitespace)
will not work and will be removed from the list when closing the window. 
This happens both with leading and trailing whitespace. This also happens if
the very first character in the list is whitespace, in which case the first
feature will be dropped.

STEPS TO REPRODUCE
1.  Open Konsole settings > Edit a profile > go to Appearance tab
2.  In the font section at the bottom select the "choose" button
3.  In the list of features enter "calt,liga,ss03, ss07,ss09" (notice the
whitespace before ss07)
4. Close the window by pressing OK
5. Reopen the window by pressing "choose" again

OBSERVED RESULT
ss07 was dropped from the list, the other feature flags are still there.

EXPECTED RESULT
Whitespace is ignored and all the feature flags are still there.

SOFTWARE/OS VERSIONS
Operating System: Fedora Linux 44
KDE Plasma Version: 6.7.3
KDE Frameworks Version: 6.28.0
Qt Version: 6.11.1

ADDITIONAL INFORMATION
This is particularly unexpected because the description itself uses whitespace
in its example (see attachment).

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

Reply via email to