Bug #50424 Live schema tree doesn't update properly
Submitted: 18 Jan 2010 17:38 Modified: 8 Jun 2011 18:31
Reporter: Sergei Tkachenko Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Workbench: SQL Editor Severity:S3 (Non-critical)
Version:5.2.13, 5.2.33 OS:Windows
Assigned to: CPU Architecture:Any

[18 Jan 2010 17:38] Sergei Tkachenko
Description:
Live schema tree doesn't update properly when adding/dropping/altering schema objects.

How to repeat:
Run Query Editor and expand schema `test_schema` (name isn't principle).
Create some view in this schema by selecting "Create View..." item from popup menu after right-clicking on `test_schema`/Views node in schema tree.
After applying new object to database, schema tree control isn't updated and new object doesn't appear in schema tree.

This bug affects create/drop/alter operations on table/view/routine schema objects.

Suggested fix:
3rd party tree control (Aga.Controls.Tree.TreeViewAdv) used by schema tree needs patch to allow reloading of particular tree nodes.
[18 Jan 2010 18:17] Valeriy Kravchuk
Verified just as described on Mac OS X. Only explicit refresh helps...
[19 Jan 2010 12:10] Johannes Taxacher
this bug only affects windows, as for osx/linux it has been added to the tree and will be included in 5.2.13
[19 Jan 2010 12:23] Johannes Taxacher
sorry for the confusion Valeriy, this report was meant as a follow up for Bug #49454 where we fixed that problem for linux and osx. As there are bigger changes needed on windows, we decided to put that in a separate report to deal with it later.
Therefor i changed reported version to 5.2.13, where this problem only remains for windows.
[4 May 2010 15:33] Alfredo Kojima
Marked bug #49042 as duplicate of this one
[4 May 2010 15:34] Alfredo Kojima
Bug #52878 seems related to this.
[30 Aug 2010 22:06] Alfredo Kojima
bug #56328 is a dupe
[7 Apr 2011 11:53] Valeriy Kravchuk
Bug #60688 was marked as a duplicate of this one.
[8 Jun 2011 18:31] Paul DuBois
Noted in 5.2.34 changelog.

When a schema was dropped in the object browser view using the
context menu, the view was not refreshed properly.
[21 Jun 2011 18:24] Paul DuBois
Noted in 5.2.34 changelog.

The live schema tree did not update properly to reflect modifications
to schema objects.