Bug 54293 - possibility to sort knotes list of notes titles
Summary: possibility to sort knotes list of notes titles
Status: RESOLVED FIXED
Alias: None
Product: knotes
Classification: Unmaintained
Component: general (show other bugs)
Version: unspecified
Platform: Mandrake RPMs Linux
: NOR wishlist
Target Milestone: ---
Assignee: Michael Brade
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-02-08 13:41 UTC by p92
Modified: 2006-01-08 13:11 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description p92 2003-02-08 13:41:24 UTC
Version:           2.3 (using KDE 3.1.0)
Installed from:    Mandrake Linux Cooker i586 - Cooker
Compiler:          gcc version 3.2.1 (Mandrake Linux 9.1 3.2.1-6mdk)
OS:          Linux (i686) release 2.4.21pre4-1mdkenterprise

If organising knotes notes in folder is for the moment too complicated, could it be added an option to get the list of notes sorted on titles please when we right click on knotes mini icon ?

Thanks
Comment 1 Michael Brade 2003-06-28 09:02:26 UTC
Subject: Re: possibility to sort knotes list of notes titles

Jep, thanks for the report. But no need for an option, the notes are now 
always sorted. It makes no sense to have them in random order.

regards,
  Michael

Comment 2 Joseph Reagle 2003-10-29 17:03:37 UTC
Subject: Re: Sorting KNotes in the applet (Re: [Kde-pim] Syncing Memos via KPilot)

On Wednesday 29 October 2003 06:21, Adriaan de Groot wrote:
> On Saturday 25 October 2003 17:36, you wrote:
> > which has improved since the last time I tried it, but is there a way
> > to sort the memos/notes in the pop-up after clicking the KNotes applet?
>
> There was bug #54293 (bugs.kde.org) which might have been relevant. In
> KDE 3.1.4, the notes are always sorted alphabetically in the LMB button
> menu from which you can choose the notes to display.

Thanks Adriaan, I'm running KDE out of unstable (which is mostly 3.1.4 at 
this point): my notes are not sorted. The following debs are 3.1.4 (kdebase 
is still 3.1.3): knotes kdelibs kdelibs4 kdelibs-bin kdelibs-data

Comment 3 Joseph Reagle 2003-10-30 04:14:04 UTC
Subject: Re: Sorting KNotes in the applet (Re: [Kde-pim] Syncing Memos via KPilot)

As it's already been marked done, no need to open a new wishlist. If 
anything re-open the old one, or even move it to a bug. But I'd welcome 
Michael's advice on that.

On Wednesday 29 October 2003 15:58, Adriaan de Groot wrote:
> On Wednesday 29 October 2003 17:03, you wrote:
> > Thanks Adriaan, I'm running KDE out of unstable (which is mostly 3.1.4
> > at this point): my notes are not sorted. The following debs are 3.1.4
> > (kdebase is still 3.1.3): knotes kdelibs kdelibs4 kdelibs-bin
> > kdelibs-data
>
> Hm, that's odd. I must admit I only tested this by having two notes:
> KNote 1 and KNote 2, and after renaming KNote 1 to KNote 3 it appeared
> below note 2. Testing with notes named "boogers", "beagles" and "zebras",
> however, shows that it doesn't sort at all. Ugh.
>
> In this case, I'd file a wishlist item for KNotes, maybe it's implemented
> in KDE 3.2 already (there's a feature freeze, but you can hope)
> ...

Comment 4 Michael Brade 2003-10-30 11:14:49 UTC
Subject: Re:  possibility to sort knotes list of notes titles

On Thursday 30 October 2003 14:14, you wrote:
> As it's already been marked done, no need to open a new wishlist. If 
> anything re-open the old one, or even move it to a bug. But I'd welcome 
> Michael's advice on that.
Thanks :-) And the answer is quite simple: I forgot to backport that "feature" 
to KDE 3.1.x :-/ It is working properly in HEAD and will be in KDE 3.2, sorry 
for the confusion. If there is a KDE 3.1.5 I'll sync the HEAD fixes with the 
branch.

Cheers,
  Michael
Comment 5 p92 2004-03-11 09:57:52 UTC
It works OK on latest MDK 10 RPMS,  thanks :)
Comment 6 p92 2005-12-30 19:05:55 UTC
KDE Version   (KDE 3.5.0, Kubuntu Package 4:3.5.0-0ubuntu0breezy1 breezy)
Application  Notes Utility
Operating System  Linux (i686) release 2.6.12-10-686
Compiler  Target: i486-linux-gnu

well it seems that notes are again unsorted under kontact knotes module :( 

Comment 7 p92 2005-12-30 19:08:50 UTC
they are apparently sorted on creation date, not on title.

if I create A B ZZ G    they appear in this creation order.
Comment 8 Michael Brade 2006-01-08 13:11:41 UTC
SVN commit 495482 by brade:

Another one bites the dust, fixed #54293: sort the iconview.

BUG: 54293


 M  +2 -0      knotes_part.cpp  


--- branches/KDE/3.5/kdepim/kontact/plugins/knotes/knotes_part.cpp #495481:495482
@@ -63,6 +63,8 @@
   mNotesView->setSelectionMode( QIconView::Extended );
   mNotesView->setItemsMovable( false );
   mNotesView->setResizeMode( QIconView::Adjust );
+  mNotesView->setAutoArrange( true );
+  mNotesView->setSorting( true );
 
   connect( mNotesView, SIGNAL( executed( QIconViewItem* ) ),
            this, SLOT( editNote( QIconViewItem* ) ) );