Commit Graph

59 Commits

Author SHA1 Message Date
Konstantina Chremmou
85b326497d CA-293664: Corrected text colour for selected item.
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2018-07-25 09:39:04 +01:00
Konstantina Chremmou
fb8434819d Namespace tidy 3/several: replaced XenAdmin.Core (instances in XenCenterLib) with XenCenterLib.
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2017-11-30 13:56:32 +00:00
Konstantina Chremmou
ad7e2fa6a6 CA-257927: Changed ChangeableList.RemoveAll method to fire the CollectionChangedEvent
once for all the items to be removed, passing in their list as argument. This method,
and the method Clear calling it, are used for alerts, updates, events and connections,
hence changed the handling of the CollectionChanged event in these cases to expect
either a single item or a collection. In the case of alerts, updates and events
this means that we can rebuild the whole list instead of removing single rows which
causes the application to hang for big numbers of items.
2017-07-24 14:48:02 +01:00
Gabor Apati-Nagy
7c0bc50b4a CA-176169: Changed copyright statements to include the comma in Citrix Systems,
Inc.

Signed-off-by: Gabor Apati-Nagy<gabor.apati-nagy@citrix.com>
2017-01-16 19:59:50 +00:00
Mihaela Stoica
6f28a7bfb1 CP-17276: Out of Memory exception when XenCenter exceeds the maximum number of GDI handles
Changed the tree builder so that the tree nodes rely on the TreeView's font. If the nodes have their NodeFont != null, then a tree update causes new fonts to be generated for each node and when fonts are being created faster than they could be cleaned up, we reach the GLI handles limit of 10000 (which causes the Out of Memory exception).

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2016-11-24 16:35:51 +00:00
CITRITE\sriharshak
8c0623b8f2 L10N:Dundee:Translation check-ins 2016-04-20 19:16:33 +05:30
Gabor Apati-Nagy
8cfed69697 CP-11577: CAR-483: Allow drag and drop for stopped and suspended VMs (cross pool)
Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2015-04-20 17:54:16 +01:00
Gabor Apati-Nagy
3696f0a973 Revert "CA-45514: XenCenter looks pretty terrible under different DPI settings"
This reverts commit 17d28304f3.
2015-04-16 15:44:43 +01:00
Gabor Apati-Nagy
aefed11165 Revert "CA-149867: Invoke on MainWindow instead of various controls"
This reverts commit 92f0499911.
2015-04-16 14:17:02 +01:00
Mihaela Stoica
1ea6bd2aa0 Merge pull request #433 from GaborApatiNagy/master_CA-45514_2
CA-45514: XenCenter looks pretty terrible under different DPI settings
2015-04-15 08:55:29 +01:00
Gabor Apati-Nagy
c333c18f24 CA-45514: XenCenter looks pretty terrible under different DPI settings
-Fixing code following the code review

Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2015-04-14 19:26:49 +01:00
Gabor Apati-Nagy
17d28304f3 CA-45514: XenCenter looks pretty terrible under different DPI settings
-Fixed the Main Treeview
2015-04-13 11:16:58 +01:00
Gabor Apati-Nagy
92f0499911 CA-149867: Invoke on MainWindow instead of various controls
We observed that some threads can reach deadlock-ish state after they have Invoked into a control's UI thread. When it happens they are all in a waiting for join or in sleep state for very long time, although there should not be any deadlock situations.
It seems this has something to do with multiple parent controls and with which control we invoked on. This should not make a difference, because we have got one UI thread (for MainWindow) they should wait for, but we have seen it does.

The solution that fixed this issue was to invoke on the MainWindow instead of various controls (see a4fe507adf ).

This changeset is changing all our Invokes to invoke into MainWindow
instead of a control itself. (MainWindow's UI thread is the only UI thread
all Control is using in XenCenter)
This changeset should be in place until we have found the root cause or the exact reason for the above.
2015-04-08 15:16:10 +01:00
Gabor Apati-Nagy
8cf0ee6a04 Merge pull request #262 from xenserver/xs64bit
Xs64bit
2014-11-18 10:32:57 +00:00
vetrivelc
62c2065b91 Fixes: CA-150023,150019,149973,149970
Translation updates & L10N Bug Fixes
2014-10-31 18:03:20 +05:30
Gabor Apati-Nagy
6a9dc4278e Merge pull request #248 from vetrivelc/creedence-ln
Iteration_002 translation check-ins
2014-10-14 17:49:31 +01:00
vetrivelc
6e2e1a214d Iteration_002 translation check-ins 2014-10-14 21:41:41 +05:30
Gabor Apati-Nagy
d6b428ec8c Merge pull request #247 from xenserver/xs64bit
Xs64bit
2014-10-10 16:51:44 +01:00
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
99743e54ac Just add a comment 2014-10-01 17:51:17 +01:00
Stephen Turner
5abf3c53c0 CA-146815 Search tab does not refresh when moving from Infrastructure view to a Saved Search view (and not reintroducing CA-147684) 2014-10-01 17:43:03 +01:00
Gabor Apati-Nagy
34644d17aa Merge pull request #237 from xenserver/xs64bit
Xs64bit
2014-10-01 17:32:33 +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
d612d07046 If we're not taking the patch for CA-146815, we don't need this patch
for CA-147684 either, because it is caused by that patch.

This reverts commit 71de9ae14a.
2014-10-01 13:35:07 +01:00
Stephen Turner
d039f87d9a Revert change for CA-146815. This change is slightly risky because it changes the order of events, so we will not bundle it up with the other changes but will consider it separately. 2014-09-30 12:50:09 +01:00
Stephen Turner
71de9ae14a CA-147684 Refresh title when switch back from Notifications View 2014-09-30 10:59:26 +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
vetrivelc
2ab95c7899 CreedenceLN: Updated the language resource files
New translation checki-ns and language file additions
2014-09-18 15:03:24 +05:30
Gabor Apati-Nagy
0d0daa4ddb CA-143826: When in Notifications view, the context should be empty
-I defined save and restore selection functionality in SelectionBroadcaster and implemented them in SelectionManager. The NavigationPanel now uses these to: 1) save the current Selection (context)  when the user switches to the Notification view, 2) to restore previous selection when switching away from the Notifications view.
2014-09-08 18:05:51 +01:00
Mihaela Stoica
c51dc67cb0 CA-139888: Changing window size should not change the number of items minimized in Outlook-style navigation panel
When the navigation panel is resized, we need to preserve the height of the bottom panel, by recalculating the splitter distance.

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2014-07-08 12:54:03 +01:00
Gabor Apati-Nagy
ccc1e3ab09 CA-137250: Minimising XC window loses its left bottom window 2014-06-13 12:19:08 +01:00
Stephen Turner
adebc23f71 CP-4961 New icons for CAR-107 2014-06-03 16:49:13 +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
7f29ebf2e9 CA-123573: Clicking a checked navigation button should not uncheck it.
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2013-12-31 13:44:35 +00:00
Konstantina Chremmou
72c43dadfc CP-6093: Aesthetic improvements to the red blob on the Notifications button.
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2013-11-27 08:42:51 +00:00
Konstantina Chremmou
2bdbf6a5e1 CP-6093: Custom drawing for the main window navigation buttons.
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2013-11-26 11:36:45 +00:00
Konstantina Chremmou
49ea5a0d62 CP-6093: Set the text of the minimized outlook style buttons.
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2013-11-20 08:45:11 +00:00
Konstantina Chremmou
c6e58f1c4c CP-6093: Update notifications button with total number of alerts, updates and error
events. Fixed display issue when moving between the notifications and the other views.

Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2013-11-19 15:42:47 +00:00
Konstantina Chremmou
9917801cc3 CP-6093: Implemented "GoTo..." and "Dismiss Selected" actions on the Events page.
Preserve last selected node when switching between views. Added labelling to the
unit tests run post-build. Minor tidy.

Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2013-11-18 14:31:00 +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
Konstantina Chremmou
15f9d34181 CP-6093: Update the header bar with the name of the notifications view currently selected.
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2013-11-07 10:00:53 +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
dbf44fff21 Small modification to the way the treeview is updated when the View settings change.
Fixed some memory leaks in the wizard and dialog tests. Updated broken Searcher tests.

Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2013-09-11 23:12:08 +01:00
Mihaela Stoica
702d65e586 Ensure that the tree is updated when the "View" options change in the main window
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2013-09-05 12:30:57 +01:00
Konstantina Chremmou
787fd8cc1e CP-5751: Move logs tab to the notifications view.
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2013-09-02 14:45:42 +01:00
Konstantina Chremmou
fab452946f CP-5751: Converted the Updates dialog to a user control and added it to the Notifications viw.
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2013-08-30 15:19:59 +01:00