Bug 248382

Summary: Screenshot button in Muon should disable itself after first click
Product: [Applications] muon Reporter: Alvaro Manuel Recio Perez <amrecio>
Component: muonAssignee: Jonathan Thomas <echidnaman>
Status: RESOLVED FIXED    
Severity: wishlist    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:

Description Alvaro Manuel Recio Perez 2010-08-19 15:03:39 UTC
Version:           unspecified (using KDE 4.5.0) 
OS:                Linux

Muon provides a button to retrieve a screenshot of selected packages. However, after clicking it the button remains enabled and doesn't provide any feedback to the user about the work it is doing. This makes possible to click it multiple times before the screenshot window is actually shown, which has te effect of opening several screenshot windows at once.

Reproducible: Always

Steps to Reproduce:
1. Select a package with an available screenshot.
2. Quckly click the "Screenshot" button multiple times.

Actual Results:  
Multiple screenshot windows are shown.

Expected Results:  
Only a window should have been shown. Also, it would be nice if the button were disabled and showed some kind of progress or throbber while retrieving the screenshot.

OS: Linux (x86_64) release 2.6.35-15-generic
Compiler: cc
Distribution: Kubuntu Maverick Alpha 3
Muon version: 0.5.0
Comment 1 Jonathan Thomas 2010-08-19 15:24:05 UTC
SVN commit 1165489 by jmthomas:

Disable the screenshot directly after the user clicks the button so that the user can't go into a crack-induced trance, and click the screenshot button multiple times and create a ton of windows.
Muon; saving KDE users from crack since 2010. :P

BUG:248382


 M  +2 -2      MainTab.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1165489
Comment 2 Alvaro Manuel Recio Perez 2010-08-19 17:18:22 UTC
Best commit message ever. :)