https://bugs.kde.org/show_bug.cgi?id=462399

            Bug ID: 462399
           Summary: [CRASH/LOCKUP] ScrollView in notification applet
                    causes freeze depending on size
    Classification: Plasma
           Product: plasmashell
           Version: master
          Platform: Compiled Sources
                OS: Linux
            Status: REPORTED
          Severity: major
          Priority: NOR
         Component: Notifications
          Assignee: plasma-b...@kde.org
          Reporter: xna...@hydra-development.net
                CC: k...@privat.broulik.de
  Target Milestone: 1.0

Created attachment 154140
  --> https://bugs.kde.org/attachment.cgi?id=154140&action=edit
demo of the bug

SUMMARY

Since the ScrollBar component does not occupy any physical space when hidden,
notifications occupy a little more space. Conversely, when the ScrollBar is
visible, notifications get shrunk down by a bit.

Although this is intended behavior, this causes the component to enter an
infinite loop whenever the notification applet is at a certain size where
notifications without a ScrollBar occupy enough space to warrant a ScrollBar,
but once the ScrollBar is present, shrink down to a size to where it's no
longer needed.

We then rapidly go back and forth between big(ger) notifs and no ScrollBar (but
overflow) and smal(ler) notifs and a ScrollBar (but no overflow), causing the
entire plasmashell to lock up.


STEPS TO REPRODUCE
0. Clear your notification history
1. Take two screenshots with spectacle
2. Open the notification applet twice (so that the "show more" button is
visible)
3. Open the notification history
4. Slowly increase its vertical size

OBSERVED RESULT
Plasmashell locks up and becomes entirely unresponsive


EXPECTED RESULT
Plasmashell does NOT lock up

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to