Commit Graph

529 Commits

Author SHA1 Message Date
El 67e5541c26
VNC-127 Refactor and clean up UI, keyboard, and rendering logic 2025-05-13 17:08:35 +05:00
Ryan Kuba 46412d23af
update the QOI code to use transferable object with memory leaks plugged (#119)
Co-authored-by: ryan.kuba <ryan.kuba@kasmweb.com>
2024-11-20 13:43:10 -05:00
Matt McClaskey 9cae5e5c92
KASM-6045 fix firefox paste bug (#110)
* KASM-6045 fix firefox paste bug

* KASM-6045 change logic to have seamless disabled by default for direct KasmVNC connections on Safari and Firefox (#111)

* KASM-6045 fixes for inside kasm workspaces

---------

Co-authored-by: Matt McClaskey <matt@kasmweb.com>
Co-authored-by: Ryan Kuba <ryankuba@gmail.com>
2024-07-15 05:19:36 -04:00
mattmcclaskey 8527c9f331
KASM-5736 fix scrolling on secondary screens injecting text 2024-03-14 11:21:51 -04:00
Matt McClaskey bbc685aa0f
KASM-5720 - Fix artifacts on secondary screens with high resolution (#104)
* increase buffer size, track drops, change pop to shift

* match rect limit elsewhere

---------

Co-authored-by: mattmcclaskey <matt@kasmweb.com>
2024-03-12 08:32:01 -04:00
j-travis bf7a417ab7
KASM-5697 Account for improper keyboard implementation of oculus browser (#103)
* KASM-5697 Account for improper keyboard implementation of oculus browser

* fix mouse drag

* fix touch gestures on secondary displays

---------

Co-authored-by: mattmcclaskey <matt@kasmweb.com>
2024-03-12 08:22:53 -04:00
Matt McClaskey 54b9bac920
KASM-5618 touch drag fix, KASM-5619 resize loop fixed (#101)
Co-authored-by: mattmcclaskey <matt@kasmweb.com>
2024-02-12 19:27:24 -05:00
Matt McClaskey 83347282eb
KASM-5609 fixed artifacts after screen movements (#99)
Co-authored-by: mattmcclaskey <matt@kasmweb.com>
2024-02-09 10:46:50 -05:00
KodeStar 602dff9258
KASM-5598 Get mouse down working cross browser (#98)
* KASM-5598 Get mouse down working cross browser

* moved variables declared outside the class

---------

Co-authored-by: Chris Hunt <chris.hunt@kasmweb.com>
Co-authored-by: mattmcclaskey <matt@kasmweb.com>
2024-02-09 07:54:05 -05:00
Matt McClaskey 5a3b4f0d69
Bugfix/kasm 5601 display mgr changes (#97)
* KASM-5598 modify click logic to tell other windows they can receive a click event

* KASM-5598 dont run the rest of the switch on click focus set

* KASM-5598 forgot to false

* fix detection of changes of x and y of secondary screens

* always apply resize after recieving display reregister

---------

Co-authored-by: ryan.kuba <ryan.kuba@kasmweb.com>
Co-authored-by: mattmcclaskey <matt@kasmweb.com>
2024-02-08 16:05:08 -05:00
Ryan Kuba 3d7047e546
Kasm 5598 click focus (#96)
* KASM-5598 modify click logic to tell other windows they can receive a click event

* KASM-5598 dont run the rest of the switch on click focus set

* KASM-5598 forgot to false

---------

Co-authored-by: ryan.kuba <ryan.kuba@kasmweb.com>
2024-02-08 10:11:26 -05:00
Matt McClaskey 933d5b7505
KASM-5563 limit secondary screen rect buffer size (#95)
Co-authored-by: mattmcclaskey <matt@kasmweb.com>
2024-02-01 18:23:50 -05:00
Matt McClaskey 7919f6c750
KASM-5456 null channel bugfix (#94)
* KASM-5456 fix null channel potential

* remove debugging line

---------

Co-authored-by: mattmcclaskey <matt@kasmweb.com>
2024-02-01 09:53:43 -05:00
Matt McClaskey 4c6127b47b
KASM-5523 change resize settings if admin prohibited on server (#93)
* KASM-5523 change resize settings if admin prohibited on server

* Fix local scaling aspect ratio

* fix exception on reconnect

* Always recalculate resolution on setting changes

---------

Co-authored-by: mattmcclaskey <matt@kasmweb.com>
2024-01-30 11:48:23 -05:00
Matt McClaskey 7ce3f140f5
KASM-5522 resend encodings when mm is added (#91)
Co-authored-by: matt <matt@kasmweb.com>
2024-01-26 15:32:11 -05:00
Matt McClaskey 4825e12f62
Bugfix/kasm 5453 serverside fixed resolutions 2 (#90)
* fix serverside fixed resolutions

* refactor of multi-monitor screen planning

* KASM-5488 mouse up fix

* Fixed display manager not getting updates on primary scren size, static size fixes

* fix phantom screen

* fix mouse off on secondary screen when scaled

* fix scaling off

* fix exception on setting static resolution

* completely disable client set static resolution on secondary displays

---------

Co-authored-by: mattmcclaskey <matt@kasmweb.com>
Co-authored-by: Chris Hunt <chris.hunt@kasmweb.com>
2024-01-26 11:09:56 -05:00
Matt McClaskey f6c1d8c668
fix scaling on static resolutions (#87)
Co-authored-by: matt <matt@kasmweb.com>
2024-01-17 10:45:46 -05:00
Matt McClaskey d590bb931a
Bugfix/kasm 5417 watermark multi mon (#85)
* KASM-5417 fix bug watermrk multi-display
* Force the zlib expected size to an int, it was unexpectedly float
* KASM-5427 transparent rects not drawn on primary display
* add double buffer when transparent rects are used
* refactor of transparent rects
* Use a more descriptive zlib error
* account for dropped transparent rects
* fix bug with multi-monitor with overlay
2024-01-17 10:44:20 -05:00
KodeStar 4dac080460
KASM-5411 Use windows placement api (#86)
Automatic placement of new displays using the Windows API if available. Control panel for secondary displays.
2024-01-16 08:01:06 -05:00
matt 7cca8f5475 KASM-5409 unique control channel per session 2024-01-05 09:05:40 -05:00
Matt McClaskey 91d579bd7a
KASM-5359 Multiscreen Misc (#82)
* add auto left click on focus

* remove filter of cursor updates

* terminate session option

* Detect user switching windows vs tabs

* Get cross display dragging working

* Selectively prevent default on mouse events

* correct mouse coordinates from secondary screens

---------

Co-authored-by: matt <matt@kasmweb.com>
Co-authored-by: Chris Hunt <chris.hunt@kasmweb.com>
2024-01-04 07:22:18 -05:00
matt ed83f31384 fixed bug with secondary screen on high dpi screen 2023-12-21 18:14:03 +00:00
matt 88ecc905ef sync down control keys on scroll 2023-12-21 15:53:46 +00:00
matt 82e0100a97 fix clipboard write to client from secondary screen 2023-12-21 15:46:11 +00:00
matt 19b3de10e1 artifacting fix, open new displays in new window 2023-12-21 13:58:27 +00:00
matt db2addddce allow drag of in-session windows to seamlessly move accross local browser windows. 2023-12-15 20:14:35 +00:00
mattmcclaskey 9fbea8cd83
requestAnimationFrame only when frames are ready 2023-11-14 09:50:47 -05:00
matt 4a6aa73f6d fix bug with cursor not displaying on first connect 2023-11-14 08:39:51 -05:00
mattmcclaskey 66355143a9
fix secondary resize, fix small screens auto pixel ratio 2023-10-31 07:15:40 -04:00
matt 2b7f938c6e CopyRect artifacts, fix unload detection on iframes 2023-10-30 15:32:35 -04:00
mattmcclaskey 70166b1a27
fix recursive disaster 2023-10-26 12:44:40 -04:00
mattmcclaskey b9f5ce3953
revert previous changes, cleanup 2023-10-26 08:20:13 -04:00
Chris Hunt 51022df869
Current state 2023-10-24 14:51:34 +01:00
Chris Hunt e6f48c5722
Show disconnect button 2023-10-24 12:14:18 +01:00
mattmcclaskey 80b9af1e32
fix scroll on primary, fix artifacting on connect, allow force draw of old frames 2023-10-23 09:21:50 -04:00
Chris Hunt c95aae3f8f
Add identify function 2023-10-18 16:31:39 +01:00
Chris Hunt c7c515796a
Show native resolution option
Remove display when deleted
2023-10-12 13:59:56 +01:00
mattmcclaskey 05ddc91382
handle window moved to diffent monitor 2023-10-11 09:27:04 -04:00
mattmcclaskey 3cc2f0caf3
add pixelratio to screen plan 2023-10-11 06:34:17 -04:00
mattmcclaskey 19e8e924c2
Fix native resolution on hdpi screens 2023-10-11 06:27:14 -04:00
mattmcclaskey 0f4979bcc5
several fixes 2023-10-05 13:30:37 -04:00
mattmcclaskey 70faacff85
smashed a frame dropping bug 2023-10-05 09:19:00 -04:00
mattmcclaskey 56a2e2dec9
add syncronous frames for secondary display 2023-10-05 07:51:50 -04:00
mattmcclaskey f243b54ac9
fix bugs in async frame sync 2023-10-05 06:02:33 -04:00
mattmcclaskey aef462ce62
refactor to support any number of displays in any orientation 2023-09-20 15:18:08 -04:00
mattmcclaskey 23076cdc7c
unregister a display if window closes 2023-09-20 09:06:27 -04:00
mattmcclaskey c35b8c68f3
Added support for all orientations and offsets 2023-09-20 08:17:05 -04:00
mattmcclaskey cb1bc7f787
wired up mouse, keyboard, clipboard on second display 2023-09-20 05:33:40 -04:00
mattmcclaskey 05735088b7
WIP - lots of fixes 2023-09-13 05:44:54 -04:00
mattmcclaskey 96001175a6
WIP - computer acting odd, committing code 2023-09-12 14:16:19 -04:00