File tree Expand file tree Collapse file tree
src/main/java/de/openindex/support/customer Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11Changelog for Remote Support Tool
22=================================
33
4+ 1.0.1 (13 Mar 2019)
5+ -------------------
6+
7+ - fixed [ issue #18 ] ( https://github.com/OpenIndex/RemoteSupportTool/issues/18 ) : Mouse is shifted on Windows clients with high resolution screen
8+
9+
4101.0.0 (20 Oct 2018)
511-------------------
612
Original file line number Diff line number Diff line change 77 <parent >
88 <artifactId >RemoteSupportTool</artifactId >
99 <groupId >de.openindex.support</groupId >
10- <version >1.0.0 </version >
10+ <version >1.0.1 </version >
1111 </parent >
1212
1313 <artifactId >RemoteSupportTool-Core</artifactId >
Original file line number Diff line number Diff line change 77 <parent >
88 <artifactId >RemoteSupportTool</artifactId >
99 <groupId >de.openindex.support</groupId >
10- <version >1.0.0 </version >
10+ <version >1.0.1 </version >
1111 </parent >
1212
1313 <artifactId >RemoteSupportTool-Customer</artifactId >
Original file line number Diff line number Diff line change 3838import java .awt .event .ActionEvent ;
3939import java .awt .event .ActionListener ;
4040import java .awt .event .KeyEvent ;
41+ import java .awt .geom .AffineTransform ;
4142import java .awt .image .BufferedImage ;
4243import java .io .ByteArrayOutputStream ;
4344import java .io .File ;
@@ -444,7 +445,27 @@ else if (request.keyChar != KeyEvent.CHAR_UNDEFINED) {
444445 } else if (object instanceof MouseMoveRequest ) {
445446
446447 final MouseMoveRequest request = (MouseMoveRequest ) object ;
447- robot .mouseMove (request .x , request .y );
448+ final int x ;
449+ final int y ;
450+
451+ // On Windows systems we need to convert the coordinates
452+ // according to the current screen scaling factor.
453+ if (SystemUtils .IS_OS_WINDOWS ) {
454+ final GraphicsConfiguration screenConfiguration = screen .getDefaultConfiguration ();
455+ final AffineTransform transform = screenConfiguration .getDefaultTransform ();
456+ final double scaleX = (transform != null && transform .getScaleX () > 0 ) ?
457+ transform .getScaleX () : 1 ;
458+ final double scaleY = (transform != null && transform .getScaleY () > 0 ) ?
459+ transform .getScaleY () : 1 ;
460+
461+ x = (int ) ((double ) request .x / scaleX );
462+ y = (int ) ((double ) request .y / scaleY );
463+ } else {
464+ x = request .x ;
465+ y = request .y ;
466+ }
467+
468+ robot .mouseMove (x , y );
448469
449470 } else if (object instanceof MousePressRequest ) {
450471
Original file line number Diff line number Diff line change 1- Remote Support Tool 1.0.0
1+ Remote Support Tool 1.0.1
22=========================
33
44* Remote Support Tool* is an easy single click solution for remote maintenance.
@@ -213,5 +213,5 @@ Further information
213213
214214- [ * Remote Support Tool* at GitHub] ( https://github.com/OpenIndex/RemoteSupportTool )
215215- [ Releases of * Remote Support Tool* ] ( https://github.com/OpenIndex/RemoteSupportTool/releases )
216- - [ Changelog of * Remote Support Tool* ] ( https://github.com/OpenIndex/RemoteSupportTool/blob/develop /CHANGELOG.md )
216+ - [ Changelog of * Remote Support Tool* ] ( https://github.com/OpenIndex/RemoteSupportTool/blob/master /CHANGELOG.md )
217217- [ Documentation of * Remote Support Tool* ] ( https://github.com/OpenIndex/RemoteSupportTool/wiki )
Original file line number Diff line number Diff line change 77 <parent >
88 <artifactId >RemoteSupportTool</artifactId >
99 <groupId >de.openindex.support</groupId >
10- <version >1.0.0 </version >
10+ <version >1.0.1 </version >
1111 </parent >
1212
1313 <artifactId >RemoteSupportTool-Staff</artifactId >
Original file line number Diff line number Diff line change 66
77 <groupId >de.openindex.support</groupId >
88 <artifactId >RemoteSupportTool</artifactId >
9- <version >1.0.0 </version >
9+ <version >1.0.1 </version >
1010 <packaging >pom</packaging >
1111
1212 <name >RemoteSupportTool</name >
6767 <dependency >
6868 <groupId >de.openindex.support</groupId >
6969 <artifactId >RemoteSupportTool-Core</artifactId >
70- <version >1.0.0 </version >
70+ <version >1.0.1 </version >
7171 </dependency >
7272 <dependency >
7373 <groupId >de.openindex.support</groupId >
7474 <artifactId >RemoteSupportTool-Customer</artifactId >
75- <version >1.0.0 </version >
75+ <version >1.0.1 </version >
7676 </dependency >
7777 <dependency >
7878 <groupId >de.openindex.support</groupId >
7979 <artifactId >RemoteSupportTool-Staff</artifactId >
80- <version >1.0.0 </version >
80+ <version >1.0.1 </version >
8181 </dependency >
8282 <dependency >
8383 <groupId >commons-io</groupId >
Original file line number Diff line number Diff line change 1717
1818STAFF_TOOL=" StaffSupportTool"
1919CUSTOMER_TOOL=" CustomerSupportTool"
20- VERSION=" 1.0.0 "
20+ VERSION=" 1.0.1 "
2121
2222MAKESELF=" makeself"
2323DIR=$( cd $( dirname ${BASH_SOURCE[0]} ) && pwd )
Original file line number Diff line number Diff line change 1717
1818STAFF_TOOL=" StaffSupportTool"
1919CUSTOMER_TOOL=" CustomerSupportTool"
20- VERSION=" 1.0.0 "
20+ VERSION=" 1.0.1 "
2121
2222DIR=$( cd $( dirname ${BASH_SOURCE[0]} ) && pwd )
2323TARGET_DIR=" $DIR /target"
Original file line number Diff line number Diff line change 1717
1818STAFF_TOOL=" StaffSupportTool"
1919CUSTOMER_TOOL=" CustomerSupportTool"
20- VERSION=" 1.0.0 "
20+ VERSION=" 1.0.1 "
2121
2222SEVENZIP=" 7z"
2323SEVENZIP_OPTIONS=" -mx=9"
You can’t perform that action at this time.
0 commit comments