← Back to team overview

bzr-explorer-dev team mailing list archive

[Bug 401277] Re: After a refresh button pushed, WT displays the top directory

 

I found the reproduces.
When QDirModel cannot refer to the directory on the way from the root directory to the branch, it reproduces it.

For example,
- The reading permission is not given to the direcotry.
- The hidden attribute is given to the directory on Windows.
- The directory name starts by the dot on Mac. (so-called dot direcotry)

To reproduction on Windows:
1) mkdir DIR 
2) attrib +h DIR
3) cd DIR
4) bzr init bra
5) Run the bazzar-explorer and open this branch from menu.
6) Push the refresh button.

In addition,
I gave the hidden attribute to the file in the branch on Windows.
I added a dot file in the branch on Mac.
Then, the file was not displayed in WT about both either. 
It might be a cause that this looks like, too.

However, it is not reproduced, when the branch is set in the argument of bzr-explorer.
Perhaps, I think that it is because the relative path is cached.

Finally, isVisible() of my patch was unnecessary. 
This is the one switched from the menu. 
Instead, explorer.changed_view calls wt_browser.set_root without checking wt_visible. 

1) Select welcome page tab.
2) call wt_browser.set_root by explorer.changed_view
3) _root = None
4) Push refresh button
5) wt_browser.refresh is through as for processing because _root is None.


** Attachment added: "fix_refresh.diff"
   http://launchpadlibrarian.net/29420371/fix_refresh.diff

-- 
After a refresh button pushed, WT displays the top directory
https://bugs.launchpad.net/bugs/401277
You received this bug notification because you are a member of Bazaar
Explorer Developers, which is the registrant for Bazaar Explorer.

Status in Bazaar Explorer: Confirmed

Bug description:
bazaar-explorer: rev 173
bzr: 1.16.1

It is maybe because the default parameter of refresh is a root directory.

see:
http://doc.qtsoftware.com/4.5/qdirmodel.html#refresh