Bug 417489

Summary: notification showing progress of file transfer is resized while details of the operation are visible
Product: [Plasma] plasmashell Reporter: Patrick Silva <bugseforuns>
Component: NotificationsAssignee: Kai Uwe Broulik <kde>
Status: RESOLVED FIXED    
Severity: normal CC: nate, plasma-bugs
Priority: NOR    
Version: 5.18.0   
Target Milestone: 1.0   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In: 5.18.1
Attachments: screen recording

Description Patrick Silva 2020-02-12 12:51:12 UTC
Created attachment 125897 [details]
screen recording

STEPS TO REPRODUCE
1. copy several folders containing several files each 
2. while Dolphin copies the data, click on the down arrow of the notification to show details about the file transfer
3. 

OBSERVED RESULT
notification is resized several times during the file transfer.
Watch the attached screen recording please.

EXPECTED RESULT
notification should not be resized

SOFTWARE/OS VERSIONS
Operating System: Arch Linux 
KDE Plasma Version: 5.18.0
KDE Frameworks Version: 5.67.0
Qt Version: 5.14.1
Comment 1 Kai Uwe Broulik 2020-02-12 13:19:07 UTC
Yeah details label probably shouldn't shrink again once grown
Comment 2 Kai Uwe Broulik 2020-02-13 09:28:18 UTC
Git commit 0fb8e51b8e1371323cf2e464b57189be42887e7f by Kai Uwe Broulik.
Committed on 13/02/2020 at 09:27.
Pushed by broulik into branch 'Plasma/5.18'.

[Notifications] Only let details label grow, never shrink

Avoids repeatedly resizing the dialog when copying many files.
It will still resize when the speed label comes and goes but at least when copying many tiny files it won't be as obnoxious.
FIXED-IN: 5.18.1

Differential Revision: https://phabricator.kde.org/D27344

M  +8    -0    applets/notifications/package/contents/ui/JobDetails.qml

https://commits.kde.org/plasma-workspace/0fb8e51b8e1371323cf2e464b57189be42887e7f