Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Multiple lists in separated widgets #13

Open
Ninjiner opened this issue Feb 18, 2019 · 4 comments
Open

Multiple lists in separated widgets #13

Ninjiner opened this issue Feb 18, 2019 · 4 comments
Labels
design wanted Extra attention is needed enhancement New feature or request

Comments

@Ninjiner
Copy link

It would be a nice feature if I could create multiple widgets for multiple lists.
I can add more lists in the same widget, but not in an other separate widget. (It only duplicates the content of my other lists).

@Zren
Copy link
Owner

Zren commented Feb 19, 2019

Ah yeah, was wondering when someone would ask for this. I'll need to think on if I should make this the default option or not.

In the short term, open up

~/.local/share/plasma/plasmoids/com.github.zren.todolist/contents/ui/NoteItem.qml

Then change the following line from

property string noteId: 'todolist'

to

property string noteId: 'todolist_' + plasmoid.id

That should* work. Restart plasma using killall plasmashell; kstart5 plasmashell (or relog) to test your changes. Note that you might need to copy the contents of the current ~/.local/share/plasma_notes/todolist file to your new todolist_123 or whatever the plasmoid.id ends up being. The new todolist_123 probably won't be created after you restart, so add a bogus item to the widget, and it should save to file, creating todolist_123.

@Ninjiner
Copy link
Author

First of all many thanks. That totally solved it.
The only "problem" was, that it removed all my previous tasks... (but of course I saved them before I made the change :-) )

I think it would be great if you could choose in the options if it should mirror all tasks in all the widgets or if they all should be independent.

@digitalethics
Copy link
Collaborator

@Zren Would it be ok for you to reopen this and add a feature like this? I'd really like to see the option to be able to place two widgets in the panel with entirely different lists.

@digitalethics digitalethics reopened this Jun 14, 2020
@digitalethics digitalethics added design wanted Extra attention is needed enhancement New feature or request labels Jun 14, 2020
@digitalethics digitalethics added this to the v13 milestone Jun 14, 2020
@digitalethics digitalethics pinned this issue Jun 14, 2020
@digitalethics digitalethics removed this from the v13 bug squat milestone Oct 14, 2020
@silverhook
Copy link

I just got bitten by the one-single list limitation.

I assumed when I created a new Plasma Activity and added the ToDo List there, it would be a separate list.

Should I open a separate issue for per-Activity widgets or would my use case be solved with this issue here too?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
design wanted Extra attention is needed enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

4 participants