DonationCoder.com forum
 
Read-only archive. This is a static copy of the DonationCoder.com forum. Reading and searching work as before; logging in, posting and private messages do not.
Archive of 2026-10-21 · About this archive · Main site

Author Topic: treeview displays wrong contents after some inserting/moving/deleting  (Read 22,195 times)

pencoe

  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 21
When i'm doing some editing about the structure if my launchbar, the shown content of groups becomes wrong.

Example: i have some root level item folowed by some groups. The group contents are not visible ("+" sign in front). Now i add some items to the content above these groups (using context menu). When i'm now opening a group (switching the + sign), the wrong content is displayed. After closing Prefs and reopening, everything is fine again.

Bye, Peter

lanux128

  • Global Moderator
  • Joined in 2005
  • *****
  • Posts: 6,277
    • Coding Snacks
    • Volunteers/Staff
    • Gathering Badge
    • Participated in NANY Challenge Once
    • Linux User
hi there pencoe,

welcome aboard!
btw, in your case, a screenshot would be nice. it makes things easier to understand.

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,931
    • Gathering Badge
    • Plugin Coding Medal
    • Participated in NANY Challenge Seventeen Times
    • Cody Award
    • Coding Snacks
    • Volunteers/Staff
i'll see if i can reproduce.. a good clue is that after prefers repoen its ok.

is it just the images that are incorrect or the actual node labels?

pencoe

  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 21
i added two snapshots

as you can see, after inserting two new nodes, the content of the third group is displayed in the first and second group too following the insertion point.

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,931
    • Gathering Badge
    • Plugin Coding Medal
    • Participated in NANY Challenge Seventeen Times
    • Cody Award
    • Coding Snacks
    • Volunteers/Staff
how strange! ok i'll look into it, you've given me enough to go on i think..
if you feel comfortable doing so (or after editing) it would help me if you sent the .mcf file defining your toolbars (mouser@donationcoder.com), but i'll see if i cant reproduce it without them.

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,931
    • Gathering Badge
    • Plugin Coding Medal
    • Participated in NANY Challenge Seventeen Times
    • Cody Award
    • Coding Snacks
    • Volunteers/Staff
i've uploaded a beta version here that hopefully fixes the problem:
http://www.donationcoder.com/Software/Mouser/LaunchBarCommander/downloads/beta/LaunchBarCommander.exe

please make a backup of your tree before doing too much experimenting (there is a built in backup function in tree config dialog Tools -> Maintenance -> Backup).

pencoe

  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 21
ok, i did some testing with this version: i created a new file, added some groups filled with some commands (see stage1). Then i added step by step three additional entrys above the existing groups (stage2 to stage4)

See yourself in the attached screenshots...

When i delete a node, everything works fine.

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,931
    • Gathering Badge
    • Plugin Coding Medal
    • Participated in NANY Challenge Seventeen Times
    • Cody Award
    • Coding Snacks
    • Volunteers/Staff
ok so yet something different strange is now happening..  >:(

can you send me your test.mcf so i can work with same file?
(mouser@donationcoder.com)

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,931
    • Gathering Badge
    • Plugin Coding Medal
    • Participated in NANY Challenge Seventeen Times
    • Cody Award
    • Coding Snacks
    • Volunteers/Staff
i've confirmed this, no need to send. working on it..

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,931
    • Gathering Badge
    • Plugin Coding Medal
    • Participated in NANY Challenge Seventeen Times
    • Cody Award
    • Coding Snacks
    • Volunteers/Staff
ok i think i've got it this time!

http://www.donationcoder.com/Software/Mouser/LaunchBarCommander/downloads/beta/LaunchBarCommander.exe

pencoe

  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 21
Yep, this one seems to solve this problem!  :Thmbsup:

Thank you very much  :-*

BTW: do you sleep sometimes?!?  :)

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,931
    • Gathering Badge
    • Plugin Coding Medal
    • Participated in NANY Challenge Seventeen Times
    • Cody Award
    • Coding Snacks
    • Volunteers/Staff
pencoe -
when i have helpful users like you who are willing to test things and report bugs without getting mad, i thank my lucky stars and skip sleep until the bugs are killed :)

well at least usually i try to, sometimes i have to go to sleep in a tent and hide from the bugs :P

Original address: https://www.donationcoder.com/forum/index.php?topic=5729.0