SUMMARY Progressbar dialog has got several glitches since I upgraded to Kubuntu 20.04: 1. It doesn't show full progressbar when its value equals maximum value. STEPS TO REPRODUCE Step 1: OBJ=$(kdialog --title "Test" --progressbar "Progress" 50) Shows empty progressbar Step 2: qdbus $OBJ value 0 Adds "0%" text to the right of progressbar Step 3: qdbus $OBJ value 49 Shows almost filled progressbar with "98%" value - so far so good Step 4: qdbus $OBJ value 50 Shows empty progressbar as after Step 1. Text which showed percents has disappeared EXPECTED RESULT Progress bar should be filled completely and "100%" value should be shown to the right of it. 2. Progressbar window ignores --icon option which works properly with the rest dialogs: > kdialog --title "Test" --icon "globe" --msgbox "Message" Shows message window with globe icon in the titlebar corner. > kdialog --title "Test" --icon "globe" --progressbar "Message" 50 Shows progressbar window with some X-Window icon instead. SOFTWARE/OS VERSIONS OS Version: Kubuntu 20.04.4 KDE Plasma Version: 5.18.8 KDE Frameworks Version: 5.68.0 Qt Version: 5.12.8
Created attachment 161299 [details] kdialog progressbar vs msgbox icon
I can confirm that icon problem is still with us. It's odd to see X-Window icon here. However, I haven't experienced the other problem. The use of kdialog progressbar is too complicated for me, but I have produced a kind of template copied below from one of the examples of its successful use I've seen somewhere. I don't know why but this doesn't work with ZSH shell although it works with BASH shell. progress=$(kdialog --icon "globe" --title "Test" --progressbar "Starting..."); qdbus $progress Set "" maximum 4 > /dev/null; qdbus $progress Set "" value 1 > /dev/null; qdbus $progress setLabelText "Step 1/4" > /dev/null; sleep 2 qdbus $progress Set "" value 2 > /dev/null; qdbus $progress setLabelText "Step 2/4" > /dev/null; sleep 2 qdbus $progress Set "" value 3 > /dev/null; qdbus $progress setLabelText "Step 3/4" > /dev/null; sleep 2 qdbus $progress Set "" value 4 > /dev/null; qdbus $progress setLabelText "Completed!" > /dev/null; sleep 2 qdbus $progress close > /dev/null; --------------------------------------------------------- Operating System: Debian Testing KDE Plasma Version: 5.27.7 KDE Frameworks Version: 5.107.0 Qt Version: 5.15.10
I can confirm that progressbar now behaves normally in Kubuntu 24.04. Full bar is filled, text 100% is shown. --icon option is still ignored completely, but that's another story. This bug can be closed.