Summary: | Leave a note widget crashes plasma | ||
---|---|---|---|
Product: | [Plasma] plasma4 | Reporter: | Nikola Schnelle <n.schnelle> |
Component: | widget-notes | Assignee: | Plasma Bugs List <plasma-bugs> |
Status: | RESOLVED FIXED | ||
Severity: | crash | CC: | annma, irvingvladimir2005, rubenalamilla |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Ubuntu | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: |
Description
Nikola Schnelle
2012-04-03 19:42:36 UTC
Do you have KNotes installed on your machine? If so, does it work standalone? Yes it is installed. Plasma crashes when knotes is not running and then I write something in Leave a note widget and then hit "leave note" button. I can always reproduce the crash. When knotes is running (there is knotes icon in systray) this crash doesn't occur. The LeaveNote applet code should start KNotes when it's not running and somehow it fails for you. Can you try to start KNotes from a terminal with the following: knotes --skip-note and see what happens please. Note that I am only reading the code where LeaveNote crashes for you, I don't have specific knowledge of it. I'll try to insta ll it to try to reproduce. Another question: did you use LeaveNote in previous KDE versions and did it work? (In reply to comment #3) > The LeaveNote applet code should start KNotes when it's not running and > somehow it fails for you. > Can you try to start KNotes from a terminal with the following: > knotes --skip-note > and see what happens please. Doesn't crash. (In reply to comment #4) > Another question: did you use LeaveNote in previous KDE versions and did it > work? No I have never used KNotes nor Leave a note widget before. I know how to reproduce crash now (on kde 4.8.1 and on master from neon ppa). Steps to reproduce: 1) Make sure that KNotes is not running. 2) Add Leave a note widget to desktop. 3) Write something in widget and press "leave note" button. Yes, thanks for the follow up, I also reproduced, exactly like you said. The line that crashes is leavenote.cpp line 218 when the process method is waitForStarted(); Patch waiting to be reviewed at https://git.reviewboard.kde.org/r/104484/ Git commit 124b62ad0873c56e2d734b34d0f727aaa8b3937d by Anne-Marie Mahfouf. Committed on 05/04/2012 at 11:39. Pushed by annma into branch 'master'. Fix QProcess call to start KNotes in LeaveNote Line 218 in leavenote.cpp knotes.waitForStarted(); was a red herring 4.8.3 104484 M +1 -3 applets/leavenote/leavenote.cpp http://commits.kde.org/kdeplasma-addons/124b62ad0873c56e2d734b34d0f727aaa8b3937d *** Bug 299596 has been marked as a duplicate of this bug. *** *** Bug 299463 has been marked as a duplicate of this bug. *** *** Bug 299915 has been marked as a duplicate of this bug. *** |