0.83: Renaming in folder tree: wrong tree order

Reported bugs that have been closed and/or resolved

Moderators: helmut, XnTriq, xnview, Dreamer

Erixx haxx
Posts: 330
Joined: Tue Jul 28, 2015 10:37 am

0.83: Renaming in folder tree: wrong tree order

Post by Erixx haxx »

Hello:

Problem occurs when renaming folders inside the tree. The tree doesn't refresh. (While renaming inside the browser, then the tree does refresh).

To Repo:
-Simply rename any Sub-folder inside the tree. (notice folder order never refreshes) even with f5
User avatar
XnTriq
Moderator & Librarian
Posts: 6512
Joined: Sun Sep 25, 2005 3:00 am
Location: Ref Desk

Re: 0.83: Tree And Browser Sync Issue

Post by XnTriq »

:bugconfirmed: Confirmed, but I've only been able to reproduce this bug in some cases.
Erixx haxx
Posts: 330
Joined: Tue Jul 28, 2015 10:37 am

Re: 0.83: Tree And Browser Sync Issue

Post by Erixx haxx »

Hello: Xntriq

Thank you for trying and confirming.
XnTriq wrote::bugconfirmed: Confirmed, but I've only been able to reproduce this bug in some cases.
You could be right. I tried with numbers 1-9 in the front and letter "Z" and it never refreshed, So maybe sometimes this doesn't happen.

I'll try and dig deeper if I get a chance.

I know it makes it hard for trying to put order to subfolders.

Thanks again..
User avatar
XnTriq
Moderator & Librarian
Posts: 6512
Joined: Sun Sep 25, 2005 3:00 am
Location: Ref Desk

Re: 0.83: Tree And Browser Sync Issue

Post by XnTriq »

Hi Erixx haxx. I was able to reproduce the bug with folders created by 7-zip while extracting St James, Louth.afphoto.zip. I was assuming that the dot(s) in the path (X:\Tests\St James, Louth.afphoto\__MACOSX\._St James, Louth.afphoto) or the file size of \__MACOSX\._St James, Louth.afphoto (0 bytes) are causing the behavior you describe, but today everything works as expected :?
Erixx haxx
Posts: 330
Joined: Tue Jul 28, 2015 10:37 am

Re: 0.83: Tree And Browser Sync Issue

Post by Erixx haxx »

Hello:

Ok, So I tried this again. A few more times, (This time with empty folders on local drive), I get out of sync every time when renaming with the tree.
From what I can see the tree never refreshes.

See example:
Browser Refreshes but Tree does not.
Browser Refreshes but Tree does not.
User avatar
XnTriq
Moderator & Librarian
Posts: 6512
Joined: Sun Sep 25, 2005 3:00 am
Location: Ref Desk

Re: 0.83: Tree And Browser Sync Issue

Post by XnTriq »

Thanks for the screenshot (-:

I used a file manager to recreate your folder scructure…
  • Media_Hub
    • My Documents
      • Test Docs
        • Parent
          • Child 1
          • Child 2
          • Child 3
          • Child 4
… on a local drive while MP was already running. After switching back to MP, I wanted to rename Test Docs to T in the tree pane, but no matter what I tried, MP simply didn't accept the new name. There were no error messages. It just kept reverting to Test Docs when I hit Enter.

I then realized that I had forgotten the Parent level of your folder structure. So I went back to the file manager, added a Parent sub-directory to Test Docs and moved all Child folders into Parent. This is the behavior I got in the tree pane when I returned to MP:
Ghost folder
Ghost folder
p135535.gif (21.94 KiB) Viewed 2496 times
PS: No luck pressing View » Refresh (F5). I can accesss the Parent folder by entering F:\Media_Hub\My Documents\Test Docs\Parent\ in the address field of the filelist toolbar, but that doesn't update the tree either.

PPS: MP doesn't jump to the Parent folder when I select one of the Child sub-directories in the tree and click on the Up button in the filelist toolbar.
Erixx haxx
Posts: 330
Joined: Tue Jul 28, 2015 10:37 am

Re: 0.83: Tree And Browser Sync Issue

Post by Erixx haxx »

Thank you for the test you did.

The thing is, I made my folder structure inside win explorer with Xnviewmp closed.
Then open xnviewmp and I put "z" in front of "child 2" (Via Xnviewmp tree) and it just sits their. no refresh inside tree.

Looks like it made it's way into bug tracker, so maybe we will see a fix.


Thanks again...
User avatar
XnTriq
Moderator & Librarian
Posts: 6512
Joined: Sun Sep 25, 2005 3:00 am
Location: Ref Desk

Re: 0.83: Tree And Browser Sync Issue

Post by XnTriq »

Erixx haxx wrote:Looks like it made it's way into bug tracker, so maybe we will see a fix.
Ah, I wasn't aware of that: 0001010 :mrgreen:
User avatar
xnview
Author of XnView
Posts: 46235
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: 0.83: Tree And Browser Sync Issue

Post by xnview »

Erixx haxx wrote: Problem occurs when renaming folders inside the tree. The tree doesn't refresh. (While renaming inside the browser, then the tree does refresh).
Your problem is only the order of subfolders, right?
Pierre.
Erixx haxx
Posts: 330
Joined: Tue Jul 28, 2015 10:37 am

Re: 0.83: Tree And Browser Sync Issue

Post by Erixx haxx »

xnview wrote: Your problem is only the order of subfolders, right?
This Problem here is when renaming inside tree panel. Tree not refreshing.


MR. Triq did a test and posted this:
I wanted to rename Test Docs to T in the tree pane, but no matter what I tried, MP simply didn't accept the new name. There were no error messages. It just kept reverting to Test Docs when I hit Enter.
My bug post for child order being wrong, is here:
0.83: Tree Order is Wrong Sometimes
User avatar
xnview
Author of XnView
Posts: 46235
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: 0.83: Tree And Browser Sync Issue

Post by xnview »

Erixx haxx wrote:
xnview wrote: Your problem is only the order of subfolders, right?
This Problem here is when renaming inside tree panel. Tree not refreshing.
after renaming, the name are good but not the order, right?
Pierre.
Erixx haxx
Posts: 330
Joined: Tue Jul 28, 2015 10:37 am

Re: 0.83: Tree And Browser Sync Issue

Post by Erixx haxx »

after renaming, the name are good but not the order, right?
O.k, I tried this again. Yes, that is the Problem in the O.P (first post).

Except for, if you have renamed a Parent folder inside the Tree panel, you can not rename it again, Via Browser or Tree panel.
I think this is a different bug and is what XnTriq ran into when he tested.

Example: Problem 2
--Main Parent
----Parent level 02 [Can not rename twice]
-----Ch 1 -level 02
-----Ch 2 -level 02
So i'd say, Try to fix O.P problem and we can see if it fixes the second issue too. I can start a new thread later if not. My main problem was try to order and sort folders anyways. :)


Thanks again. Sorry for confusion
User avatar
helmut
Posts: 8704
Joined: Sun Oct 12, 2003 6:47 pm
Location: Frankfurt, Germany

Re: 0.83: Tree not resorted after renaming

Post by helmut »

So the sort order of the folders in the folder tree after renaming is the original problem, right?
Erixx haxx
Posts: 330
Joined: Tue Jul 28, 2015 10:37 am

Re: 0.83: Tree not resorted after renaming

Post by Erixx haxx »

helmut wrote:So the sort order of the folders in the folder tree after renaming is the original problem, right?
I think this should be re-titled to:
--Renaming Inside Tree Panel, Tree Order Wrong. Or the like

Because I have another bug with:
-- Renaming Inside Browser, Tree panel Order is Wrong.

I plan to re-title it, because we are getting the two mixed up,, Or at least I am. :)
Pierre has a beta where the other bug seems fixed.

What do you think,
User avatar
helmut
Posts: 8704
Joined: Sun Oct 12, 2003 6:47 pm
Location: Frankfurt, Germany

Re: 0.83: Tree not resorted after renaming

Post by helmut »

I've just renamed the topic title to "0.83: Renaming in folder tree: wrong tree order".

The problem is easy to reproduce. :bugconfirmed:
Post Reply