Bug 339168 - If there's an invalid collection set as default, the resulting "Pick collection" dialog is empty
Summary: If there's an invalid collection set as default, the resulting "Pick collecti...
Status: RESOLVED WORKSFORME
Alias: None
Product: knotes
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
: 341414 (view as bug list)
Depends on:
Blocks:
 
Reported: 2014-09-18 10:35 UTC by Wolfgang Bauer
Modified: 2022-10-26 18:45 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
screenshot showing the problem (210.21 KB, image/png)
2014-09-18 10:39 UTC, Wolfgang Bauer
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Wolfgang Bauer 2014-09-18 10:35:05 UTC
When you try to create a new note, and an invalid collection is set, a dialog appears telling you of the problem and asking you whether you want to choose a new default collection.
So far so good.
But, if you select "Yes", the resulting dialog to choose a collection is empty.


Reproducible: Always

Steps to Reproduce:
1. Make sure that an invalid collection is selected for saving notes, either by deleting the one that is set, or by editing 1. Make sure that an invalid collection is selected for saving notes, either by deleting the one that is set, or by editing the file globalnotesettings.
2. Probably restart knotes, I'm not sure about this.
3. Try to create a new note.
4. Select "Yes" in the dialog that appears, asking you whether you want to set a new default collection.
2. 
3.

Actual Results:  
The new dialog that appears is empty, even if there are collections/akonote resources available.
So you cannot actually select any collection/resource.

Expected Results:  
The dialog should show the available akonotes resources.

If there is _no_ default collection set (e.g. when globalnotesettings does not exist yet), it works as expected.
Comment 1 Wolfgang Bauer 2014-09-18 10:39:10 UTC
Created attachment 88737 [details]
screenshot showing the problem

This screenshot should prove that there are other collections available, but the dialog is empty.
Sorry for it being in german, but it should be comprehensible enough I think. ;)
Comment 2 Laurent Montel 2014-09-18 12:05:46 UTC
I confirm it.
I need to understand where is the bug.
Comment 3 Rafael Linux User 2014-10-09 08:28:58 UTC
It happens too when receiving a note from other desktop. That window appear empty, so I can't select any collection to store the received note and is lost.

https://bugs.kde.org/show_bug.cgi?id=339804
Comment 4 Wolfgang Bauer 2014-11-30 16:46:35 UTC
*** Bug 341414 has been marked as a duplicate of this bug. ***
Comment 5 Justin Zobel 2022-10-17 00:41:01 UTC
Thank you for reporting this bug in KDE software. As it has been a while since this issue was reported, can we please ask you to see if you can reproduce the issue with a recent software version?

If you can reproduce the issue, please change the status to "CONFIRMED" when replying. Thank you!