Bug 264279

Summary: KSnapshot sometimes includes itself in taskbar
Product: [Unmaintained] ksnapshot Reporter: Denis Pesotsky <denis>
Component: generalAssignee: Richard Moore <rich>
Status: RESOLVED UNMAINTAINED    
Severity: normal CC: denis, Freiheits, gregor, ivo, robby.engelmann, valentyn.pavliuchenko
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: unspecified   
OS: Unspecified   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: bug appearance example
bug in KDE 4.6.5

Description Denis Pesotsky 2011-01-25 18:50:29 UTC
Created attachment 56424 [details]
bug appearance example

Version:           unspecified (using KDE 4.5.5) 
OS:                unspecified

When I press PrtSc, ksnapshot makes screenshot. But this screenshot often include unwanted things:
1) Jumping icon of ksnapshot.
2) Animation of removing ksnapshot from taskbar (if plasma theme have animation in taskbar).

You can see it on attached screenshot.

Possible workaround: don't show jumping icon for ksnapshot and don't add it to taskbar.

Reproducible: Sometimes




It
Comment 1 Robby Engelmann 2011-01-25 19:22:33 UTC
Since at least KDE 4.6 candidates this problem is fixed for me. Are there other experiences?

My current system is Kubuntu 10.10 with KDE 4.6 RC2
Comment 2 Robby Engelmann 2011-01-25 19:27:38 UTC
Ohh sorry, I misread the bug description, as I had some (tiny) trouble with pre 4.6 versions: sometimes ksnapshot-window relicts were captured together with the screenshot. This bug read similar to me in the first moment.
Comment 3 Christoph Feck 2011-01-25 20:09:32 UTC

*** This bug has been marked as a duplicate of bug 234526 ***
Comment 4 Denis Pesotsky 2011-01-25 20:11:04 UTC
Not only busy icon, but also animation in taskbar. Look at bottom of attached image,
Comment 5 Denis Pesotsky 2011-01-25 20:52:21 UTC
It is not duplicate. Changing bug status back.
Comment 6 kost BebiX 2011-01-25 22:58:32 UTC
*** This bug has been confirmed by popular vote. ***
Comment 7 Denis Pesotsky 2011-01-25 23:00:05 UTC
better close bug 234526, becouse that bug is not fully describing what actually happens. sorry for bad English.
Comment 8 Igor Strelnikoff 2011-07-23 13:10:00 UTC
This bug is present in KDE 4.5.95
Comment 9 Igor Strelnikoff 2011-07-23 13:10:50 UTC
Created attachment 62113 [details]
bug in KDE 4.6.5
Comment 10 Valentyn Pavliuchenko 2011-12-02 13:16:35 UTC
The problem is fixed by changing X-KDE-StartupNotify from true to false in /usr/share/applications/kde4/ksnapshot.desktop

This skips launch feedback when starting ksnapshot.
Comment 11 Ivo Anjo 2012-03-07 21:38:52 UTC
This bug I guess should be two:
- the startup feedback should probably be disabled by default, so it won't get included in screenshots
- it seems that ksnapshot starts preparing its window before capturing the screenshot, and so the capture happens in the middle of the process, resulting in what seems a capture of a bug (which unfortunately looks very bad, when the point is "here's KDE, it looks great")

Neither of which is fixed with ksnapshot 0.8.2 on KDE 4.8.0
Comment 12 Jekyll Wu 2012-03-07 22:57:32 UTC
Git commit a1fd419de234d6e5fb6d2804a95362777307f292 by Jekyll Wu, on behalf of Nikita Churaev.
Committed on 05/01/2012 at 13:37.
Pushed by jekyllwu into branch 'KDE/4.8'.

Disable startup notification for ksnapshot.
Related: bug 234526

(cherry picked from commit dc54d9596f6df0ea746cf927d100b755fb588057)

M  +2    -1    ksnapshot.desktop

http://commits.kde.org/ksnapshot/a1fd419de234d6e5fb6d2804a95362777307f292
Comment 13 Ivo Anjo 2012-03-08 09:07:45 UTC
Nice, thanks for the backport!
Comment 14 Valentyn Pavliuchenko 2012-03-08 21:23:18 UTC
Only 3 months after a solution was published - what a speed! :)
Comment 15 Ivo Anjo 2012-03-08 22:32:22 UTC
(In reply to comment #14)
> Only 3 months after a solution was published - what a speed! :)

To be fair, the commit you saw was a backport -- the fix was already present on the development branch.
Also, saying "what took you so long" instead of "thank you" to someone who does this in their spare time is not very nice or motivating.
Comment 16 Valentyn Pavliuchenko 2012-03-09 11:51:24 UTC
I've spent a time to find out how to fix that and posted a solution here. And I see no reason for saing thanks to someone else for just promoting the fix after a long time (for a highly voted bug).
Comment 17 Gregor Tätzner 2012-04-29 20:26:55 UTC
*** Bug 265869 has been marked as a duplicate of this bug. ***
Comment 18 Gregor Tätzner 2012-04-29 20:28:31 UTC
whoops...fixed
Comment 19 Ivo Anjo 2012-04-29 21:30:45 UTC
But is this really fixed? This bug report includes two issues: "jumping icon" and "capturing ksnapshot window animation in plasma".
As far as I can tell, only one of those is currently solved?
Comment 20 Gregor Tätzner 2012-04-30 05:55:24 UTC
(In reply to comment #19)
> But is this really fixed? This bug report includes two issues: "jumping
> icon" and "capturing ksnapshot window animation in plasma".
> As far as I can tell, only one of those is currently solved?
sry, I missed that. For clarification: 'jumping icon' is fixed now? btw I can't reproduce one of those.
Comment 21 Ivo Anjo 2012-04-30 19:20:28 UTC
Jumping icon is fixed now, yes. I have KDE 4.8.2 on kubuntu and my ksnapshot.desktop correctly includes X-KDE-StartupNotify=false
Comment 22 Andrew Crouthamel 2018-09-04 04:19:32 UTC
Hello! Sorry to be the bearer of bad news, but this project has been unmaintained for many years and I will be closing this bug. Spectacle is the replacement for ksnapshot now. Please test again and file a new bug for Spectacle if you still have issues. Thank you!