User forums > Using Code::Blocks

bug in to-do panel

<< < (2/2)

kfmfe04:

--- Quote from: jens on July 18, 2009, 09:26:28 am ---Works here (debian 64-bit) except for the priority sorting bug.

By the way it would be nice to have a little triangle (or something like that) that shows the row as sorted and gives the sorting direction.
Don't know if it can easily be done.

--- End quote ---

Thanks for the confirm - there must be something wrong with the install of the GUI library on my machine...

frithjofh:
Hi,

it seems the behavior occurs when you manually edit the priority number in the source code ( if you want to rearrange the priorities in your project for instance). The new numbers save alright in the files, but it seems in the to to panel the former numbers are preserved. The ordering seems to be done then according to the actual new values in the files, but these new values are still not reflected in the panel. So the apparent visible ordering is seems to be the correct one, but the numbers displayed are the old ones and thus completely chaotic.

regards

nausea

kfmfe04:
I just posted this as Feature Request #4702 as it's not really a bug, but it is an "unexpected behavior" which should be fixed for the to-do panel.  

Not sure what the best solution is, but if anyone has a good idea, I can post it in as part of the comments.  Thx.

-------------------------------------------------------------------------------------------

My Workspace consists of a library project and an
unittest project.

My To-do list is usually set to Scope: "All project files"
and I am selected on the unittest project, so the To-
Do list will only display items from the unittest.

> Unexpected Behavior <-----------------
I usually have files open from both projects.  If I
happen to click on a LIBRARY file with a to-do inside,
the panel will add this to-do to the panel, but if I click the
Refresh button, it will disappear!!!

Technically, this is not incorrect, but it is rather
confusing.  The system is in a weird state-based funk.

My suggestion is to Add "All Workspace Files" as an
option.  I would usually have this option selected, so
the view is consistent.  This doesn't really solve the
problem for the other options, where there is a conflict
between the setting and the "want to see all TODO's in
the file I'm editing" - maybe a checkbox in the panel?  
But that would clutter things up - not sure what is
best...

Navigation

[0] Message Index

[*] Previous page

Go to full version