plasma-applet-commandoutput icon indicating copy to clipboard operation
plasma-applet-commandoutput copied to clipboard

Fixed width stopped working after update to Plasma 6

Open mattstepb opened this issue 10 months ago • 1 comments

Version 13 7e90654db81ad1088f811d9ad60b355aae956b0c

The applet is really small and changing the width has no effect (1, 200, 420, any). I've tried plasmashell --replace.

Operating System: Fedora Linux 40
KDE Plasma Version: 6.0.3
KDE Frameworks Version: 6.0.0
Qt Version: 6.6.2
Kernel Version: 6.8.7-300.fc40.x86_64 (64-bit)
Graphics Platform: X11
[Containments][2][Applets][205]
immutability=1
plugin=com.github.zren.commandoutput

[Containments][2][Applets][205][Configuration]
PreloadWeight=5
popupHeight=504
popupWidth=504

[Containments][2][Applets][205][Configuration][ConfigDialog]
DialogHeight=630
DialogWidth=840

[Containments][2][Applets][205][Configuration][General]
clickCommand=plasma-systemmonitor
command=/media/test.sh
fixedWidth=120
fontFamily=Helvetica LT
textAlign=2
useFixedWidth=true

mattstepb avatar Apr 23 '24 19:04 mattstepb

This issue seems can be fixed by remove the * Kirigami.Units.devicePixelRatio here: https://github.com/Zren/plasma-applet-commandoutput/blob/b2b5a3f05a5613fd4f57f448c34814f65e18a21f/package/contents/ui/main.qml#L288

huyz-git avatar Jul 05 '24 13:07 huyz-git