Bug 449722

Summary: Notifications sometimes appear with an extra empty padding on the bottom
Product: [Frameworks and Libraries] frameworks-knotifications Reporter: ratijas <me>
Component: generalAssignee: kdelibs bugs <kdelibs-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: normal CC: kdelibs-bugs-null, nate, qydwhotmail
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: Notifications - extra height glitch
Notifications - extra height - Konsole bell
Notifications - extra height and clipped background - Trash

Description ratijas 2022-02-07 00:01:31 UTC
Created attachment 146362 [details]
Notifications - extra height glitch

SUMMARY

Sometimes notifications from various sources (like file operations, applets removal, "notification" service from the eponymous Plasma data source -> createNotification operation) may appear with a persistent extra padding on the bottom: about 72 px height below the content. It is persistent in a sense that once a notification is created, it will not alter its geometry until it dismisses.

Such glitched notifications are rare and very inconsistent to get. My best bet would be to use "notifications" Plasma data source to emit twice as much notifications as needed to cover your screen entirely (so that the new ones have to wait their turn).

STEPS TO REPRODUCE
1. Get a notification.
2. ???
3. 0.1% chance that it is glitched.

OBSERVED RESULT
Extra empty vertical space below the content of notification.

EXPECTED RESULT
Notifications should adjust to content size.

SOFTWARE/OS VERSIONS
Operating System: Arch Linux
KDE Plasma Version: 5.24.80
KDE Frameworks Version: 5.91.0
Qt Version: 5.15.2
Kernel Version: 5.16.5-arch1-1 (64-bit)
Graphics Platform: X11
Processors: 8 × Intel® Core™ i7-6700HQ CPU @ 2.60GHz
Memory: 15.6 GiB of RAM
Graphics Processor: NVIDIA GeForce GTX 970M/PCIe/SSE2

plasma-desktop: 963b4ee7a1c56ee68a2d5bf0557862d497fea974
plasma-workspace: daed0461ebafe1c70821f6852394b058078d3315
plasma-framework: 850051e0a0b577e6c22b67e2ba04a7c8c8ed25cb

ADDITIONAL INFORMATION

Telegram thread where I first discussed this issue starts here: https://t.me/vdgmainroom/311295
This turned out to be quite old and known issue, although no one seems to have any idea how to fix it.
Comment 1 ratijas 2022-02-07 00:04:33 UTC
Created attachment 146364 [details]
Notifications - extra height - Konsole bell

More examples
Comment 2 ratijas 2022-02-07 00:06:34 UTC
Created attachment 146365 [details]
Notifications - extra height and clipped background - Trash

Sometimes the glitch also affects blurry background: it is sized to fit the content, and thus it does not cover all the popup.
Comment 3 Nate Graham 2022-02-07 04:52:44 UTC

*** This bug has been marked as a duplicate of bug 449196 ***