https://bugs.kde.org/show_bug.cgi?id=483070
            Bug ID: 483070
           Summary: [feature request] configurable threshold for hiding
                    label of window title (minimumMColumns)
    Classification: Plasma
           Product: plasmashell
           Version: 6.0.1
          Platform: Arch Linux
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: Task Manager and Icons-Only Task Manager
          Assignee: plasma-b...@kde.org
          Reporter: oldh...@gmail.com
                CC: qydwhotm...@gmail.com
  Target Milestone: 1.0

Created attachment 166842
  --> https://bugs.kde.org/attachment.cgi?id=166842&action=edit
taskbar with labels hidden

SUMMARY
When there are a lot of windows, the label (window title) is hidden when the
room for it is small.
However, the current threshold for hiding the labels is too high for me. I
would like an option to lower that threshold.
Currently it is hardcoded in  taskmanager/package/contents/ui/code/layout.js:

// Returns the number of 'm' characters whose joint width must be available in
the task button label
// so that the button text is rendered at all.
function minimumMColumns() {
    return tasks.vertical ? 4 : 5;
}

I would like it configurable to as low as 1.

STEPS TO REPRODUCE
1. Open many windows
2. Watch the task manager.
3. 

OBSERVED RESULT
Labels are hidden despite there are still some space left, as the screenshot
shows.

EXPECTED RESULT
Provide an option to display the label as long as one character can fit in.
This is especially useful when I have a lot of windows with names
distinguishable at the first or second character, such as terminals or
(dolphin) folders. 

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION

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

Reply via email to