[kde] [Bug 483500] New: Window titles should have a unique and consistent pattern that can be matched with a simple regex

bugzilla_noreply at kde.org bugzilla_noreply at kde.org
Thu Mar 14 01:12:10 GMT 2024


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

            Bug ID: 483500
           Summary: Window titles should have a unique and consistent
                    pattern that can be matched with a simple regex
    Classification: I don't know
           Product: kde
           Version: unspecified
          Platform: Arch Linux
                OS: Linux
            Status: REPORTED
          Severity: wishlist
          Priority: NOR
         Component: general
          Assignee: unassigned-bugs at kde.org
          Reporter: gravy_starving975 at simplelogin.com
  Target Milestone: ---

Since window types don't exist/work in wayland, window rules for the different
windows in an application are dependent on matching the window title, so these
different window types should each have some unique text or pattern that allows
a simple regex to match just that window without the possibility of false
positives/negatives.
This is aimed at the main window's title, which tends to be so short and simple
that the only consistent text to match is the application's own name and maybe
a preceding em dash that tends to end up being a substring within other
windows' titles in the application, requiring a regex that explicitly excludes
every possible other window in that application and has the potential for a
false negative if the title contains the name of a file/folder that matches the
excluded text.
Simply adding a prefix to the window title to allow for a
"[prefix][wildcard][application name]" pattern should be enough.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Unassigned-bugs mailing list