Emdek / plasmoid-adjustable-clock

Plasmoid to show date and time in adjustable format
GNU General Public License v2.0
20 stars 5 forks source link

Created theme, KDE crashes #15

Open msbarrios opened 9 years ago

msbarrios commented 9 years ago

I was looking for a clock that displays unix time, couldn't find any but read in a forum that the "adjustable clock" would. I installed it, browsed the themes and none had unix time. I went on 'create theme' > 'QML', a popup was displayed. I selected "unix timestamp" > "insert"; "week" > "insert". Some things were added to the QML source code, I have no idea if it was right or not since I never played with QML before. When I tried to save it, it crashed. It opened a "bug report" window, which I went to the last stage, but it was saying it couldn't get the stack trace and there weren't enough information for developers to do something (which was obvious to me too, but I went to the end of the process anyway). Now, I can display the widget normally (with the default theme it came with), but I can't modify anything. If I go on "settings", it displays the popup. However, if I simply scroll down in the list of themes, KDE crashes again, no "bug report" window. I'm not sure I'm being clear on what crashes, as I'm not familiar with crashes here. All my windows remain intact, but the taskbar disappears and reappears after a few seconds without the widget. I have the feeling that my theme was saved and its existence is what is causing these crashes. If anyone can tell me where to find the QML files, I could post it here for a dev to try to reproduce on their own; and also for me to fix my situation, editing the file directly. Also, if someone can point me to some documentation as to how create themes, I'd appreciate. TIA

msbarrios commented 9 years ago

Maybe I should've mentioned versions, etc. heheh :$

msbarrios@10 ~ $ cat /etc/os-release PRETTY_NAME="Debian GNU/Linux 8 (jessie)" NAME="Debian GNU/Linux" VERSION_ID="8" VERSION="8 (jessie)" msbarrios@10 ~ $ cat /proc/version Linux version 3.16.0-4-amd64 (debian-kernel@lists.debian.org) (gcc version 4.8.4 (Debian 4.8.4-1) ) #1 SMP Debian 3.16.7-ckt9-2 (2015-04-13) msbarrios@10 ~ $ dpkg -l | grep adjus ii plasma-widget-adjustableclock 4.1.4-1 amd64 Plasma widget clock to show date and time msbarrios@10 ~ $ dpkg -l | grep kde | grep base ii kde-base-artwork 4:4.11.5-1 all base artwork for the KDE Plasma Workspace ii kde-baseapps 4:4.14.2-1 all base applications from the official KDE release (meta-package) ii kde-baseapps-bin 4:4.14.2-1 amd64 core binaries for the KDE base applications ii kde-baseapps-data 4:4.14.2-1 all shared data files for the KDE base applications ii kde-runtime-data 4:4.14.2-2 all shared data files for the KDE base runtime module

(chopped off irrelevant info)

Emdek commented 9 years ago

I would suggest to use HTML based themes, these are safer. You can find custom themes in this directory: ~/.kde/share/apps/plasma/adjustableclock/

Removing folder will remove associated theme.