Zren / plasma-applet-eventcalendar

https://store.kde.org/p/998901/
469 stars 92 forks source link

Plasma Freezes after clicking on event in the agenda panel #238

Open Freedom9339 opened 3 years ago

Freedom9339 commented 3 years ago

I have a google calendar synced, and whenever I click on an even in the agenda panel, it opens chrome and takes me to the add new event page. However, plasma completely freezes. If I open up TOP, it shows plasmashell using 100%cpu. I have to kill it and restart it. It only happens whenever I click an event in the agenda panel. If I click on a date in the calendar, it will open the event in chrome, but it won't freeze.

Zren commented 3 years ago

Both call Qt.openUrlExternally(url) so I doubt that's the issue.

What version of the widget are you using?

grep Version ~/.local/share/plasma/plasmoids/org.kde.plasma.eventcalendar/metadata.desktop /usr/share/plasma/plasmoids/org.kde.plasma.eventcalendar/metadata.desktop
Freedom9339 commented 3 years ago

It shows I'm using version 74.

X-KDE-PluginInfo-Version=74

Freedom9339 commented 3 years ago

I created a video showing exactly what happens. Sometimes it does open chrome, and sometimes it doesn't. But it always freezes.

https://youtu.be/rDh119tTXxQ

Zren commented 3 years ago

Feel free to delete the video. To summarize.

  1. DoubleClicked date in calendar, Chrome opened with new event link.
  2. Clicked Birthday event. Chrome did not open. Plasmashell spiked to 100% CPU.
  3. Clicked Birthday event. Chrome did not open. Plasmashell spiked to 100% CPU.
  4. Opened Chrome first. Clicked ebay event. Link opened in Chrome. Plasmashell spiked to 100% CPU.

Does opening Chrome first, then clicking the Birthday event open it in Chrome?

Not sure why Chrome doesn't properly open the link if it's not already open...

Freedom9339 commented 3 years ago

No, it will still freeze and not open up the event at times.

pinonpierre commented 3 years ago

Hi! I have the same issue. Everyone have some fix? Thanks

pinonpierre commented 3 years ago

Hi,

Some details about the bug. FYI, there is no new line when the freeze occurs and it happen when I click on a link (Sometimes it open the link in the web browser but not always)

Thanks

9:22:01 me@home:~$ gdb plasmawindowed
GNU gdb (Ubuntu 9.2-0ubuntu1~20.04) 9.2
Copyright (C) 2020 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Type "show copying" and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
    <http://www.gnu.org/software/gdb/documentation/>.

For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from plasmawindowed...
(No debugging symbols found in plasmawindowed)
(gdb) set logging on
Copying output to gdb.txt.
Copying debug output to gdb.txt.
(gdb) run org.kde.plasma.eventcalendar
Starting program: /usr/bin/plasmawindowed org.kde.plasma.eventcalendar
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[New Thread 0x7ffff10bf700 (LWP 51848)]
[New Thread 0x7fffebfff700 (LWP 51851)]
org.kde.plasmaquick: Applet preload policy set to 1
[New Thread 0x7fffeadee700 (LWP 51852)]
[New Thread 0x7fffe3ebe700 (LWP 51855)]
[New Thread 0x7fffe36bd700 (LWP 51856)]
[New Thread 0x7fffe2ebc700 (LWP 51857)]
[New Thread 0x7fffe26bb700 (LWP 51858)]
[New Thread 0x7fffe1e2a700 (LWP 51859)]
org.kde.plasma: requesting config for "Calendrier des événements" without a containment!
[New Thread 0x7fffd6bae700 (LWP 51868)]
Loading Calendar plugin HolidaysEventsPlugin(0x555555ca8160)
qml: 0
9
file:///home/me/.local/share/plasma/plasmoids/org.kde.plasma.eventcalendar/contents/ui/PopupView.qml:393:5: Unable to assign [undefined] to double
[New Thread 0x7fffbf5b9700 (LWP 51882)]
[New Thread 0x7fffbdfd4700 (LWP 51887)]
5
9
[Detaching after fork from child process 52038]
Ouverture dans une session de navigateur existante.