Commit Graph

19 Commits

Author SHA1 Message Date
Mihaela Stoica
a4fe507adf CA-147941: Fixed the RPU wizard hang in "Reconnecting Storage" and connecting action stuck in progress state
In some cases calling Control.Invoke() from a background thread causes that thread to go in a "sleep, wait, or join" mode, while waiting for Invoke to happen, although the UI thread is running normally.
If the Control is the MainWindow, it works as expected, but we've seen it happening while connecting or disconnecting from a large pool, on calling Invoke on controls like NavigationView, AlertSummaryPage, HistoryPage, etc.
To fix this, we call the Invoke on the MainWindow in all the places where we've seen the issue.

With this changes, the previous fix for CA-148245 (call RequestRefreshTreeView on CacheClearing event) is not needed anymore, so I removed that call.

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2014-10-10 13:16:50 +01:00
Stephen Turner
21449b0d2d Also if we're not taking the patch for CA-146815, RefreshTreeView() can stay private 2014-10-01 13:54:02 +01:00
Stephen Turner
25e735223e CA-143826 CA-146815 CA-147401 Fix bugs related to navigation mode changes 2014-09-29 15:13:39 +01:00
Mihaela Stoica
c8917d1986 CA-127974: Added more checks to prevent XenCenter crash while closing [XOP-521]
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2014-03-05 10:45:39 +00:00
Konstantina Chremmou
f5bee7102c Refactored MainWindow to derive from IMainWindow rather than implement a field deriving
from this interface.

Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2014-01-22 12:39:32 +00:00
Konstantina Chremmou
f120ffd496 CA-123572: Fixed regression: restored "New folder" item in the context menu of the Folders root node.
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2013-12-31 15:47:52 +00:00
Konstantina Chremmou
9de85b8772 CP-6267: Restored status strip on the main window.
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2013-11-12 12:44:19 +00:00
Konstantina Chremmou
dfa26cf0cc CP-6093: Main window control positioning and borders.
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2013-11-07 15:31:13 +00:00
Gabor Apati-Nagy
431f47ef2b [CA-64748] Fixed Wrong context menu opens if you move the mouse quickly 2013-11-04 12:35:53 +00:00
Konstantina Chremmou
aa8ccd0bfb CP-6095: Ensure the different views have a single root node with the appropriate
icon. Moved class OrganizationalView from XenModel back to XenAdmin as it is more
relevant to the latter.  Updated relevant tests. Some code tidy.

Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2013-10-08 10:17:57 +01:00
Konstantina Chremmou
2edefb840e CP-5751: First drop of the new NotificationsView (currently only the Alerts are available).
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2013-08-30 13:35:32 +01:00
Konstantina Chremmou
e397d8bee7 CP-5749: Updated tests to reflect GUI changes. Some code corrections after the first run.
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2013-08-28 14:44:46 +01:00
Konstantina Chremmou
c4011c3086 CP-5749: Split the organization views into tags, folders, vapps and custom fields.
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2013-08-26 13:08:23 +01:00
Konstantina Chremmou
a3dbc137d9 CP-5749: First drop of new outlook style buttons.
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2013-08-26 11:42:32 +01:00
Konstantina Chremmou
31b29d615d CP-5749: Moved treeviewUpdateManager closer to the treeview.
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2013-08-25 14:06:03 +01:00
Konstantina Chremmou
b602195a1c CP-5749: Moved methods related to suspending/resuming treeview refresh closer to
the treeview and compacted them.

Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2013-08-25 12:42:38 +01:00
Konstantina Chremmou
b163a6c715 CP-5749: Moved the main treeview from the MainWindow to the NavigationView control.
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2013-08-24 17:00:32 +01:00
Konstantina Chremmou
964ee7d1d1 CP-5749: Renamed the TreeSearchBoxMode to NavigationMode and moved it to the NavigationView control.
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2013-08-23 12:32:14 +01:00
Konstantina Chremmou
d128abe4f9 CP-5749: Created new NavigationView control and moved the search box from the main window into there.
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2013-08-23 12:23:35 +01:00