TreeWidget is something wrong.

Bug #538753 reported by IWATA Hidetaka
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
QBzr
Fix Released
Critical
Gary van der Merwe
0.18
Fix Released
Critical
Gary van der Merwe

Bug Description

At 0.18.3(r1219), TreeWidget is something wrong.

One example can be reproduced by this steps:
----------
  bzr init test
  cd test
  mkdir foo
  echo foo > foo\foo.txt
  mkdir bar
  echo bar > bar\bar.txt
  bzr add foo\foo.txt
  bzr qcommit

  First, this tree is shown in qcommit dialog.
   foo
   + foo.txt

  After checking 'Show non-versioned files', wrong tree is shown.
   bar
   + foo <- wrong node
   foo
   + foo.txt
----------

I also saw similar behavior in qbrowse, but I can't reproduce it.

Version info:
Bazaar (bzr) 2.1.0
  Python interpreter: C:\Program Files\Bazaar\python25.dll 2.5.4
  Python standard library: C:\Program Files\Bazaar\lib\library.zip
  Platform: Windows-XP-5.1.2600-SP3

Tags: treewidget

Related branches

Changed in qbzr:
importance: Undecided → Critical
status: New → Confirmed
Revision history for this message
Gary van der Merwe (garyvdm) wrote :

Regression caused by rev 1058.

Revision history for this message
Craig Hewetson (craighewetson-deactivatedaccount) wrote : Re: [Bug 538753] Re: TreeWidget is something wrong.

Hi Gary,
Is it possible to add a test for that regression, to help pick it up in the
future?
I'm sure this treewidget is very complex and it pretty central to most of
the dialogs.

Thanks for the hard work.

Revision history for this message
Gary van der Merwe (garyvdm) wrote :

On 15/03/2010 11:16, Craig Hewetson wrote:
> Is it possible to add a test for that regression, to help pick it up in the
> future?
> I'm sure this treewidget is very complex and it pretty central to most of
> the dialogs.

Agree. I think that with out better tests, I'm going to lose my sanity...

tags: added: treewidget
Revision history for this message
Gary van der Merwe (garyvdm) wrote :

Wow. The knock on from this bug is huge. This bug was the cause of the following bugs:
Bug 478277
Bug 529985
Bug 515908
Bug 513066
Bug 538858

And probably many more.

Changed in qbzr:
assignee: nobody → Gary van der Merwe (garyvdm)
milestone: none → 0.19b1
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.