Bug 329303 - When my cat sits on the laptop it locks up kde due to hundreds of ksnapshot instances
Summary: When my cat sits on the laptop it locks up kde due to hundreds of ksnapshot i...
Status: RESOLVED NOT A BUG
Alias: None
Product: ksnapshot
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: openSUSE Linux
: NOR normal
Target Milestone: ---
Assignee: Richard Moore
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-12-28 09:36 UTC by Adam Pigg
Modified: 2013-12-28 17:14 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Adam Pigg 2013-12-28 09:36:39 UTC
My cat likes to sit on a warm laptop.  When it does, it sometimes sits on the print-screen key.  This can cause >100 instances of ksnapshot which locks up the system.

It would make sense if ksnapshot was a single-instance program like amarok so that invoking multiple instances is not possible.

Reproducible: Always

Steps to Reproduce:
1. Place cat on computer keyboard
2. Observe mayhem
3. Proffit
Actual Results:  
System locks up

Expected Results:  
Pressing print-screen multiple times should only open one instance of ksnapshot
Comment 1 Christoph Feck 2013-12-28 13:46:52 UTC
Which KDE version are you using? This should long be fixed, see bug 166190.
Comment 2 Richard Moore 2013-12-28 17:14:04 UTC
For users who take several screenshots then select the one they like, the single-instance approach doesn't work. In addition, most of the memory usage in your example would be the actual screenshots - on my machine 1600x900 at 32 bits, 100 screenshots would be well over 0.5GB of ram, and my machine isn't using a particularly high resolution. Even with a single-instance, if we want to support the use case above, we'd still need to expend this (plus more for the thumbnails etc.) so it wouldn't help.

I'd suggest that if your cat constantly does this then you unbind the print screen key. An alternative workaround might be to buy a dog!