Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 685816 - x11-misc/shutter-0.93.1-r3 - excruciatingly slow displaying desktop notifications. dbus timeout
Summary: x11-misc/shutter-0.93.1-r3 - excruciatingly slow displaying desktop notificat...
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Graphics Project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-05-13 10:30 UTC by Joe Breuer
Modified: 2020-06-05 23:30 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
DBus monitor log (shutter-dbus.log,84.53 KB, text/plain)
2019-05-13 10:30 UTC, Joe Breuer
Details
emerge --info (emerge-info.txt,7.42 KB, text/plain)
2019-05-13 10:31 UTC, Joe Breuer
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Joe Breuer 2019-05-13 10:30:49 UTC
Created attachment 576408 [details]
DBus monitor log

At some point quite in the past, taking screenshots with shutter turned from a snap into a test of patience: After selecting the area for a screenshot to be taken, there's a whopping 20 second delay before its UI comes back with the freshly taken screenshot in it.

I started to dig around in this using NYTProf, and found that all that time is spent in Net::DBus::RemoteObject::AUTOLOAD.

https://drive.google.com/open?id=1fl_vnJtZB8q2cacVQRHsaWYHww_0F6Io

(The NYTProf report is too large to be attached.)


I've then also taken a dbus-monitor --session --profile trace. I've marked taking a screenshot with a blank line, above timestamp 1557741146.860481. I lack the understanding to see what's really going on there, but maybe it can be of some help.


I'm running KDE desktop, with gtk libraries used by a lot more software than shutter - chromium, firefox, thunderbird, gimp, emacs, libreoffice, xsane, ... none of which exhibit such extraneous delays.


WORKAROUND:

Digging deeper into this I found a preference within shutter that allows switching between Desktop Notifications and Built-In Notifications - with the latter, the delays are gone.

Nonetheless I'd like to file this bug; I think the way provided by and conforming to the desktop system to display notifications should work.
Comment 1 Joe Breuer 2019-05-13 10:31:14 UTC
Created attachment 576410 [details]
emerge --info
Comment 2 Jonas Stein gentoo-dev 2020-06-05 23:30:20 UTC
It is sad to read that you have problems with the software. The situation seems to be a bit more complicate and requires some analysis.
We can not help you efficiently via bug tracker. The bug tracker aims rather on specific problems in .ebuilds and less on individual systems. 

I have had very good experience on the gentoo IRC [1] with questions like this. Of course there are also forums and mailing lists [2,3].
I hope you understand, that I will close the bug here therefore and wish you good luck on one of the mentioned channels [4].
Please reopen the ticket in order to provide an indication for an specific error in an ebuild or any gentoo related product.

[1] https://www.gentoo.org/get-involved/irc-channels/
[2] https://forums.gentoo.org/
[3] https://www.gentoo.org/get-involved/mailing-lists/all-lists.html
[4] https://www.gentoo.org/support/