Usage of libnotify in pastebin plugin hangs
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Synapse |
In Progress
|
Undecided
|
Jeremy Munsch |
Bug Description
try
{
// yey for breaking API!
var notification = Object.new (
typeof (Notify.
body: msg,
null) as Notify.
}
catch (Error err)
{
warning ("%s", err.message);
}
On kubuntu 15.04, when sending text using pastebin plugin make the desktop manager hangs (plasma).
It freeze few seconds then, randomly, but really few times, the notification will display and the link putted in clipboard as expected.
Other wise it will just not work, after the freeze you may got your selected in clipboard and see no notification.
Removing the notification code make the plug-in work correctly every time, but you will have no notification.
Related branches
- Rico Tzschichholz: Needs Fixing
-
Diff: 113 lines (+17/-35)5 files modifiedconfigure.ac (+1/-3)
debian/control (+0/-1)
src/plugins/imgur-plugin.vala (+8/-15)
src/plugins/pastebin-plugin.vala (+8/-15)
src/ui/synapse-main.vala (+0/-1)
Changed in synapse-project: | |
assignee: | nobody → Jeremy Munsch (jeremy-munsch) |
status: | New → In Progress |