Skip to content

Use PlasmaCore Units for Icon Sizing and Fix Tiles Text Overflow

Aditya Mehra requested to merge work/fix-scaling-using-plasma-units into master
  • Depending on Qt Scale Factors does seem to be causing layout issues when targeting different resolution screens, even two different environments, for example i.e a Monitor and a TV at the same resolution of 1920x1080 seem to have a mix bag of breakages using the Qt Scale Factors and it seems to get worse when the actual screen might be 4k resolution but being forced to work at a lower resolution like 1920x1080 for sbc hardware that cannot support 4k.

  • Current fix replaces all files using Kirigami.Units.iconSizes with PlasmaCore.Units.iconSizes to use the previous DPI scaling method originally designed around, seems less hacky than using Qt Scale Factors

  • Fixes tiles text overflow when Application Name and Descriptions are very long by limiting the Description to a single line when Application Names are taking maximum of the tile space

  • Allows sections in the launcher to be hidden when no applications belonging to the specific category are shipped or installed, adds additional key navigation logic for this.

Merge request reports

Loading