Commit Graph

30 Commits

Author SHA1 Message Date
minglumlu
3a7d1c1cd9 CA-254479,CA-223802,XSO-672: distinct the VM IP addresses which are retrieved from XAPI. 2017-06-28 10:08:16 +08:00
Mihaela Stoica
4bf86842ba CP-21130: Move the test for InvernessOrGreater outside the VNCGraphicsClient class
- This is needed because this class is shared with the VNCControl solution which doesn't have access to the Helpers class

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2017-06-08 09:38:09 +01:00
Mihaela Stoica
42df02734a CA-249856: Fix console position and focus rectangle drawing on resize
Also ensuring that if the UpdateSessionDisplaySettings function (which we use for resize) is not supported, then we display the console centered in the parent window and with scrollbars if needed

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2017-04-25 14:07:29 +01:00
Letsibogo Ramadi
3ea6d56983 CA-249856 - XenCenter Keyboard shortcuts not working properly on VM console when remote desktop mode 2017-04-24 15:52:56 +01:00
Letsibogo Ramadi
29a683afc3 CA-245546 - Only the active RDP console is resized when the main XenCenter window is resized 2017-03-03 17:29:19 +00:00
Letsibogo Ramadi
27918a1c02 CP-20881 - Implement RDP console resize when toggling the full screen mode
In addition to ticket requirements, the console size is updated when the console is:
- resized in undocked mode
- resized manually by dragging window edges
- resized by dragging the panel splitter

Signed-off-by: Letsibogo Ramadi <letsibogo.ramadi@citrix.com>
2017-03-01 17:48:42 +00: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
82c0f6d7a3 CA-224619: XenCenter cannot use Switch to Remote Desktop option for VMs connected to internal network
- correction to the previous commit: only collect the IP addreses if the PIF is connected or is null

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2016-10-10 15:28:00 +01:00
Mihaela Stoica
c0d5dd2d94 CA-224619: XenCenter cannot use Switch to Remote Desktop option for VMs connected to internal network
- include networks without PIFs in the list of networks to test for RDP (at the end of the list)

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2016-10-10 15:28:00 +01:00
Konstantina Chremmou
9b7f90ccb4 CA-215575 plus refactoring: The connection bar does not need to manipulate anything
other than strings. Moved settings of the FullScreenForm from the VNCTabView to
the former class. The FullScreenFormof the VNCTabView is only initialised as
FullSCreenFrom so no casts are necessary. The FullScreenForm is responsible for
updating the connection bar text with the value obtained from the vncScreen everytime
the name of the connection changes. Also reduced visibility of certain members.

Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2016-08-24 13:51:50 +01:00
Konstantina Chremmou
a9a1cd6b9c Tidied up: the vncScreen should notify the parent vncTab when the rdp warning needs
to be shown. It is complicated to have the one control call a method in the other
which checks the state on the first control.

Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2016-08-24 11:48:42 +01:00
Konstantina Chremmou
8991a257d2 Removed some unnecessary methods; changed visibility for controls that don't need to be public. 2016-07-04 23:05:51 +01:00
Konstantina Chremmou
04ffdbadc5 CP-17756: Do not use the field VM.is_control_domain to find the console for the
host as it applies to other control domains too. Use the new Host.control_domain
field instead. Minor refactoring.
2016-07-04 13:22:08 +01:00
Gabor Apati-Nagy
547dced854 CA-169167: Screen resolution is less than the default value after switch to remote desktop
Fixing unused field as warning as error build issue
2015-06-04 11:49:09 +01:00
Cheng Zhang
554d5a6483 CA-169167: auto-implemented for AutoSwitchRDPLater
Signed-off-by: Cheng Zhang <cheng.zhang@citrix.com>
2015-06-04 18:13:58 +08:00
Cheng Zhang
239486c598 CA-169167: Screen resolution is less than the default value after switch to remote desktop
Auto switch to RDP should be taken after VNC connection got the correct screen resolution.
Also not enable “enable RDP button” before VNC connection get the correct screen resolution.

Signed-off-by: Cheng Zhang <cheng.zhang@citrix.com>
2015-05-20 15:31:02 +08:00
Mihaela Stoica
7ff4bb9138 CA-68578: Shutting down a Linux guest with VNC console causes password dialog to pop up
- store the empty vnc password after a successful login, to avoid displaying the login dialog box on a subsequent reconnection attempt
- abort the vnc connection attempt if we notice that vncIP is null and switch back to the default console

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-04-30 11:37:39 +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
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
Stephen Turner
dfab7f9b96 CA-165096: Add null reference check 2015-03-27 16:30:36 +00:00
Cheng Zhang
8519fab118 CA-165096: solve XenCenter slow to find RDP interface
To solve this long latency issue, we will only scan IPs whose PIF link status is connected.

Signed-off-by: Cheng Zhang <cheng.zhang@citrix.com>
2015-03-27 14:02:48 +08:00
Cheng Zhang
4486dca281 CA-164678: Got incorrect guest screen resolution with user's first switch to Remote Desktop from XenCenter Console
Signed-off-by: Cheng Zhang <cheng.zhang@citrix.com>
2015-03-16 15:02:32 +08:00
Cheng Zhang
c6ccae79d3 CP-10955: rework comments
Signed-off-by: Cheng Zhang <cheng.zhang@citrix.com>
2015-01-28 10:02:19 +08:00
Cheng Zhang
98992d3bd2 CP-10204: Rework comments
Signed-off-by: Cheng Zhang <cheng.zhang@citrix.com>
2015-01-12 17:27:31 +08:00
Cheng Zhang
6b6b515fe7 CP-10204: XenCenter: guest RDP control
Signed-off-by: Cheng Zhang <cheng.zhang@citrix.com>
2015-01-09 11:33:53 +08:00
Gabor Apati-Nagy
d942f9e7f1 CA-148332: Right click on a Windows VM brought up the PV linux copy/paste context menu
Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2014-10-08 11:24:41 +01:00
Gabor Apati-Nagy
c928fd71ec CP-9365: XenCenter work for HVM linux support
-changes following the code review

Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2014-09-08 10:38:22 +01:00
Gabor Apati-Nagy
c458d16f7f CP-9365: XenCenter work for HVM linux support
Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2014-09-05 16:50:50 +01:00
Stephen Turner
577363a3a1 CA-141389 Log all GET and POST calls 2014-08-07 16:23:06 +01:00
Mihaela Stoica
bd36a85bff CP-4816: Initial commit to git repo
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2013-06-24 12:41:48 +01:00