ShortLog

Plasma 4 Widgets

Source (link to git-repo or to original if based on someone elses unmodified work): Add the source-code for this project on git.opendesktop.org

2
Score 75%
Description:

Shortlog saves small information snippets for quick retrieval later on. The information snippets or notes get a timestamp to make it easier to find them again. The idea is to store information you have no good place for or might not need again in a simple way. But if you need them again, you can simply look them up.

How to use it:

* Add a new note: insert it and hit "enter" or click "OK"
* Search for a note: the first character needs to be "/", then just input your search pattern (regex possible) and click "OK"
* Delete something: search for it and then click "Delete Selected" to delete all search results

Awards:
2nd Runner Up in the 2010 KDE Javascript Jam Session


Last changelog:

8 years ago

fix for the KDE 4.6 Problem

Voelkerball

7 years ago

Greetings,
first off, your plasmoid is great, was searching for something like that.
Since today it does not work for me (i updated the system before).
It says:
Result of expression 'textdata.push'[undefined] is not a function.
But its not the same problem as the one already fixed here; i did a "print(textdata)" after line 136, and it said:
QVariant(QStringList)
This seems to be related with http://bugs.kde.org/show_bug.cgi?id=267809
I wonder if you could implement an alternative way to save the entries to a separate file (as already requested). This would bypass this bug and in addition would be a nice feature.
Anyway, i would be happy if i could implement it myself, but i don't know how to save files with Javascript, maybe you can help me with that? ;)
Regards, Pascal

Report

BryanFRitt

7 years ago

I've tried installing 'ShortLog' via
'cashew->Add Widgets...->Get New Widgets->Download Now Widgets...->...' and via
'cashew->Add Widgets...->Get New Widgets->Install Widget from Local File...->...' and via
'plasmapkg -i ./123379-shortlog.plasmoid'
...
I don't see how to start it. I go to
'Ccashew->Add Widgets ...',
and don't see 'ShortLog' anywhere.
I scrolled threw threw the list, and didn't see it there.
Tried typing 'Short' or 'Log' into the 'Enter Search Term' box, and I don't see it there either.
I even tried seeing if installed as a 'View Layout', not there either.

How can I start 'ShortLog', etc...?

p.s. I'm using KDE 4.6.1 on KUbuntu 10.10.

Report

patkoscsaba

7 years ago

I installed it on KDE 4.5.5 on Mandriva ... install went OK. I can't find plasmoid anywhere.

Tried to install from net, reinstall, install from file with plasmapkg.

It also doesn't show up in plasmoidviewer --list, however if I want to install it again with plasmapkg it says it's already installed.

Restarting X & KDE doesn't help either.

Report

dovidhalevi

8 years ago

Looks ideal for a krunner plugin. Some folks use the runner more for text based stuff, others will prefer the individual plasmoid interface.

Report

roelj

8 years ago

I really like this plasmoid.
Now that I'm on KDE 4.6 it doesn't work anymore:

Error in contents/code/main.js on line 121.

TypeError: Result of expression 'textdata.push' [undefined] is not a function.

I looked into the code, but I concluded I do not know enough about the framework to solve this.

So, how to solve this?

Report

nik3nt3

8 years ago

Same problem here:

In 4.6. plasmoid.readConfig("data") on Line 133 of main.js returns an empty string.

This bug can be fixed by adding

if (textdata == ""){
textdata = []
}

just after Line 133 (e.g. after textdata = plasmoid.readConfig("data")).

---
Unfortunately readConfig always returns an empty string and thus all data gets lost when plasma restarts....

/nik

Report

C

munglaub

8 years ago

Thanks a lot for the help. I added it and hope it works again.

Report

joth666

8 years ago

Hard to tell. For me it's not even present in the widget explorer anymore. plasmapkg -i didn't produce any error messages, but there is a folder in .kde4/share/apps/plasma/plasmoids with the corresponding files.

Report

nik3nt3

8 years ago

Nop it's not working :-(

your metadata.desktop is wrong:

#ServiceTypes=Plasma/PopupApplet
#ServiceTypes=Plasma/Applet,Plasma/PopupApplet


You need to remove the '#' at least from one of these line.

for kde = 4.4 you need:
ServiceTypes=Plasma/PopupApplet

for kde > 4.4 you need:
ServiceTypes=Plasma/Applet,Plasma/PopupApplet

---
Unfortunately ALL entries still get lost after plasma reloads. Most probably a kde bug :-(

----

Would be nice if the entries could get exported to a text-file (I lost all data... )



/nik

Report

joth666

8 years ago

Really nice plasmoid, and works great!

Just wondering: would it be possible to get it to save the data in a file of its own rather than one of the plasma config-files? It would make transfering data between say a home-computer and a work-computer so much easier!

Failing that, how about an export/import function?

Report

johanner

8 years ago

I sent you an email with some ideas a few days ago. I can see how nice it is working right now.

I do agree with DanaKil about deleting an entry just by selecting the line or a few characters of it.

Thanks again!

Report

DanaKil

8 years ago

Very useful, I like it a lot

I'd love if you or someone else make this plasmoid embeddable in a panel (maybe only an icon in the panel and a popup containing the same plasmoid layout as the desktop version)

It could be great to have a "clear" button in the input field too.

And maybe one could delete an entry just by selecting the line or a few characters in the line ?

Anyways, thanks :)

Report

8 years ago

fix for the KDE 4.6 Problem

File (click to download) Version Description Downloads Date Filesize DL OCS-Install
Pling
Details
license
version
0.1
updated Jan 31 2011
added Apr 18 2010
downloads today
0
page views today 2