Jonathan Gilbert
246b5b93f8
Centralize debounce of save window pos and save window pos on close ( #12987 )
...
* Added method equals to class LastWindowPosition to compare the contents of instances.
Added storage to common.dart for remembering what window position data has previously been written.
Factored the actual save code from saveWindowPosition to _saveWindowPositionActual and updated saveWindowPosition to call it through a debouncer, and only if the window position data has actually changed since the last call in the same instance.
Added named parameter 'flush' to saveWindowPosition in common.dart, and to _saveFrame in tabbar_widget.dart, and updated the onWindowClosed handler in tabbar_widget.dart to call _saveFrame with flush: true, forcing an immediate save on close.
Removed the _saveFrame debouncer from tabbar_widget.dart.
* saveWindowPosition: don't reschedule debounce if it's already in flight
* Reworked the logic in saveWindowPosition to collapse a rapid series of updates into one save at the end.
2025-10-11 16:11:56 +08:00
Jonathan Gilbert
753a2ab2b7
Fixed super call in onWindowResized in tabbar_widget.dart. ( #12979 )
2025-09-22 11:26:19 +08:00
RustDesk
5faf0ad3cf
terminal works basically. ( #12189 )
...
* terminal works basically.
todo:
- persistent
- sessions restore
- web
- mobile
* missed terminal persistent option change
* android sdk 34 -> 35
* +#![cfg_attr(lt_1_77, feature(c_str_literals))]
* fixing ci
* fix ci
* fix ci for android
* try "Fix Android SDK Platform 35"
* fix android 34
* revert flutter_plugin_android_lifecycle to 2.0.17 which used in rustdesk 1.4.0
* refactor, but break something of desktop terminal (new tab showing loading)
* fix connecting...
2025-07-01 13:12:55 +08:00
fufesou
dd0e6c31ba
refact: mouse scroll, remote tabs ( #11708 )
...
Signed-off-by: fufesou <linlong1266@gmail.com >
2025-05-11 13:32:36 +08:00
21pages
f0f999dc27
view camera ( #11040 )
...
* view camera
Signed-off-by: 21pages <sunboeasy@gmail.com >
* `No cameras` prompt if no cameras available, `peerGetSessionsCount` use
connType as parameter
Signed-off-by: 21pages <sunboeasy@gmail.com >
* fix, use video_service_name rather than display_idx as key in qos,etc
Signed-off-by: 21pages <sunboeasy@gmail.com >
---------
Signed-off-by: 21pages <sunboeasy@gmail.com >
Co-authored-by: Adwin White <adwinw01@gmail.com >
Co-authored-by: RustDesk <71636191+rustdesk@users.noreply.github.com >
2025-03-10 21:06:53 +08:00
21pages
d4a712bb32
always block desktop settings page if video connection exists ( #10224 )
...
1. Always block desktop settings page if video connection exists, both mouse event and key event are blocked..
2. Server control page always block key event.
Signed-off-by: 21pages <sunboeasy@gmail.com >
2024-12-08 18:26:55 +08:00
21pages
f34b8411a7
Fix new cm tab not replace the old persisted tab ( #9127 )
...
* This happens when after changing DesktopTab to StatefulWidget, 1.2.7
and 1.3.0 have this problem.
* When `addConnection` in server_model.dart is called, the old closed
client is removed, the client parameter of buildConnectionCard is new,
but client id inside Consumer is old.
* The only state in cm page is timer, its value is kept in test.
* There may be a better way to solve the ui update.
Signed-off-by: 21pages <sunboeasy@gmail.com >
2024-08-20 15:34:10 +08:00
21pages
bb1b9858d5
only main window show tabbar border, change cm tabbar color ( #9073 )
...
Signed-off-by: 21pages <sunboeasy@gmail.com >
2024-08-15 13:25:59 +08:00
dignow
b967d496cc
refact: init values from initState to Constractor ( #8817 )
...
* refact: init values from initState to Constractor
Signed-off-by: dignow <linlong1265@gmail.com >
* fix: move RxBool init into Constructor
Signed-off-by: dignow <linlong1265@gmail.com >
* peer sort option
Signed-off-by: dignow <linlong1265@gmail.com >
* Remove empty initState()
Signed-off-by: dignow <linlong1265@gmail.com >
---------
Signed-off-by: dignow <linlong1265@gmail.com >
2024-07-25 10:45:51 +08:00
dignow
79a1f888d6
fix: flutter remove setState in initState ( #8807 )
...
Signed-off-by: dignow <linlong1265@gmail.com >
2024-07-24 14:00:49 +08:00
fufesou
888e993534
fix: unable to close on fullscreen ( #8690 )
...
Signed-off-by: fufesou <linlong1266@gmail.com >
2024-07-12 22:04:11 +08:00
21pages
af66d2a73b
main window add block mask, cm add keyboard block ( #8640 )
...
* block window body only so user can still click minisize button.
* cm doesn't show mask
* Remove focusable Offstage in tabbar_widget.dart
Signed-off-by: 21pages <sunboeasy@gmail.com >
2024-07-08 20:08:05 +08:00
rustdesk
d25670c79a
fix https://github.com/rustdesk/rustdesk/issues/2680
2024-06-18 14:39:56 +08:00
fufesou
a84b9bd2c8
fix: setMovable only on macos ( #8261 )
...
* fix: setMovable only on macos
Signed-off-by: fufesou <linlong1266@gmail.com >
* Refact and comments
Signed-off-by: fufesou <linlong1266@gmail.com >
* comments
Signed-off-by: fufesou <linlong1266@gmail.com >
* Refact comments
Signed-off-by: fufesou <linlong1266@gmail.com >
---------
Signed-off-by: fufesou <linlong1266@gmail.com >
2024-06-05 14:52:56 +08:00
fufesou
32ef5f47f8
fix: macos tab drag ( #8242 )
...
Signed-off-by: fufesou <linlong1266@gmail.com >
2024-06-02 10:56:29 +08:00
fufesou
df36580451
fix: tab, disable dragging ( #8228 )
...
Signed-off-by: fufesou <linlong1266@gmail.com >
2024-06-01 00:10:18 +08:00
fufesou
9ce62dc584
fix: window backgroud color ( #8155 )
...
Signed-off-by: fufesou <linlong1266@gmail.com >
2024-05-27 09:29:31 +08:00
fufesou
1efce51222
fix: restore window, on connection ( #8129 )
...
Signed-off-by: fufesou <linlong1266@gmail.com >
2024-05-23 22:11:40 +08:00
fufesou
3c502c6fc2
refact: replace some option keys ( #8090 )
...
Signed-off-by: fufesou <shuanglongchen@yeah.net >
2024-05-19 14:07:42 +08:00
fufesou
96f41fcc02
refact: custom client, more advanced settings ( #8085 )
...
* refact: custom client, more advanced settings
Signed-off-by: fufesou <shuanglongchen@yeah.net >
* feat: custom client, more advanced settings
Signed-off-by: fufesou <shuanglongchen@yeah.net >
---------
Signed-off-by: fufesou <shuanglongchen@yeah.net >
2024-05-18 23:13:54 +08:00
fufesou
01322146c0
refact: window frame border ( #7946 )
...
Signed-off-by: fufesou <shuanglongchen@yeah.net >
2024-05-08 09:59:05 +08:00
21pages
f6223a6f71
dropdown menu for tabs that cannot be displayed ( #7918 )
...
* The visibility threshold is 75%
* Used in remote, file transfer, port forward and cm
Signed-off-by: 21pages <pages21@163.com >
2024-05-06 17:10:02 +08:00
21pages
ac79c45529
remove tooltip of main window tab, opt some tooltip by raising its hierarchy ( #7672 )
...
Signed-off-by: 21pages <pages21@163.com >
2024-04-10 14:04:12 +08:00
redistay
1cfc9b6139
chore: fix some typos ( #7585 )
...
Signed-off-by: redistay <wujunjing@outlook.com >
2024-04-02 21:41:54 +08:00
fufesou
85cafda168
Refact. Flutter web, mid commit ( #7494 )
...
Signed-off-by: fufesou <shuanglongchen@yeah.net >
2024-03-24 11:23:06 +08:00
fufesou
fc90526258
Fix. Custom client, maxmize of incoming only ( #7406 )
...
* Fix. Custom client, maxmize of incoming only
Signed-off-by: fufesou <shuanglongchen@yeah.net >
* format
Signed-off-by: fufesou <shuanglongchen@yeah.net >
---------
Signed-off-by: fufesou <shuanglongchen@yeah.net >
2024-03-16 17:33:58 +08:00
fufesou
efd1f24ab2
Fix. Custom client, ui bugs ( #7405 )
...
* Fix. Custom client, ui bugs
Signed-off-by: fufesou <shuanglongchen@yeah.net >
* trivial
Signed-off-by: fufesou <shuanglongchen@yeah.net >
---------
Signed-off-by: fufesou <shuanglongchen@yeah.net >
2024-03-16 15:37:23 +08:00
fufesou
5253d67e04
Fix/custom client styles ( #7373 )
...
* Fix. qs styles
Signed-off-by: fufesou <shuanglongchen@yeah.net >
* custom client, options
Signed-off-by: fufesou <shuanglongchen@yeah.net >
* Move logo.svg to icon.svg
Signed-off-by: fufesou <shuanglongchen@yeah.net >
* Refact. Custom client, connection status ui.
Signed-off-by: fufesou <shuanglongchen@yeah.net >
* Custom client ui. Disable settings, hide "Change password"
Signed-off-by: fufesou <shuanglongchen@yeah.net >
* Custom client, logo align center
Signed-off-by: fufesou <shuanglongchen@yeah.net >
* Custom client, refact, outgoing ui
Signed-off-by: fufesou <shuanglongchen@yeah.net >
* Custom client, outgoing, settings icon
Signed-off-by: fufesou <shuanglongchen@yeah.net >
* Custom client, powered by RustDesk
Signed-off-by: fufesou <shuanglongchen@yeah.net >
* Custom client, remove unused SizeBox
Signed-off-by: fufesou <shuanglongchen@yeah.net >
* Update config.rs
* Update flutter_ffi.rs
---------
Signed-off-by: fufesou <shuanglongchen@yeah.net >
Co-authored-by: RustDesk <71636191+rustdesk@users.noreply.github.com >
2024-03-14 11:36:14 +08:00
rustdesk
fc875f7ad6
more on custom client
2024-03-12 21:47:29 +08:00
fufesou
e6953c8883
Feat. Quick support, ui ( #7267 )
...
* Feat. QS ui
Signed-off-by: fufesou <shuanglongchen@yeah.net >
* Remove 'Quick support'
Signed-off-by: fufesou <shuanglongchen@yeah.net >
* add help card
Signed-off-by: fufesou <shuanglongchen@yeah.net >
* use addPostFrameCallback to get child size
Signed-off-by: fufesou <shuanglongchen@yeah.net >
* Fix. qs, set home window size
Signed-off-by: fufesou <shuanglongchen@yeah.net >
* Qs, set setResizable for settings page
Signed-off-by: fufesou <shuanglongchen@yeah.net >
* Qs, help cards margin bottom
Signed-off-by: fufesou <shuanglongchen@yeah.net >
* Qs, online status, padding
Signed-off-by: fufesou <shuanglongchen@yeah.net >
* Qs, online status, padding
Signed-off-by: fufesou <shuanglongchen@yeah.net >
* Qs, online status, use margin instead of padding
Signed-off-by: fufesou <shuanglongchen@yeah.net >
* Qs, fix, start cm window
Signed-off-by: fufesou <shuanglongchen@yeah.net >
---------
Signed-off-by: fufesou <shuanglongchen@yeah.net >
2024-02-27 17:02:10 +08:00
rustdesk
749a1d2da2
support logo.png
2024-02-26 17:49:12 +08:00
21pages
89150317e1
add zero copy mode hareware codec for windows ( #6778 )
...
Signed-off-by: 21pages <pages21@163.com >
2024-01-02 16:58:10 +08:00
fufesou
0f59e0c950
fix, remote tab menu
...
Signed-off-by: fufesou <shuanglongchen@yeah.net >
2023-11-07 11:56:07 +08:00
21pages
0d01aa4eea
opt close on taskbar, not call onWindowClose multi times
...
Signed-off-by: 21pages <pages21@163.com >
2023-11-03 11:52:43 +08:00
21pages
53e310ff77
fix close on taskbar
...
Signed-off-by: 21pages <pages21@163.com >
2023-10-26 16:56:30 +08:00
dignow
738a1a330c
change comment
...
Signed-off-by: dignow <linlong1265@gmail.com >
2023-10-20 09:17:10 +08:00
dignow
676b02c8de
fix, macos, close sessions, confirm dialog and then hide
...
Signed-off-by: dignow <linlong1265@gmail.com >
2023-10-20 09:15:53 +08:00
dignow
013d307bcd
feat, multi_flutter_ui_sessions
...
Signed-off-by: dignow <linlong1265@gmail.com >
2023-10-14 12:26:24 +08:00
dignow
69062dca16
fix, dialog button, reconnect cancel in a short time
...
1. Two `reconnect` is called.
2. The window cannot be closed.
Signed-off-by: dignow <linlong1265@gmail.com >
2023-09-29 21:42:49 +08:00
21pages
6028cfc1a3
fix remote tab lable update, Get.find always return the first instance
...
Signed-off-by: 21pages <pages21@163.com >
2023-09-28 09:05:10 +08:00
21pages
e000fdfb50
desktop tab lable format: id/alias@hostname
...
Signed-off-by: 21pages <pages21@163.com >
2023-09-26 15:11:31 +08:00
dignow
296ebd0341
fix, macos, remote fullscreen state, debug
...
Signed-off-by: dignow <linlong1265@gmail.com >
2023-09-07 22:26:32 +08:00
dignow
5293e3b277
fix, macos, remote fullscreen mode
...
Signed-off-by: dignow <linlong1265@gmail.com >
2023-09-07 21:50:03 +08:00
dignow
bf32477f89
Remove dup maximized state
...
Signed-off-by: dignow <linlong1265@gmail.com >
2023-09-03 22:18:48 +08:00
fufesou
e17002c6da
set right menu duration from 4s to 300s
...
Signed-off-by: fufesou <shuanglongchen@yeah.net >
2023-08-24 00:00:18 +08:00
dignow
f5493ab0c4
fix, window maximized state
...
Signed-off-by: dignow <linlong1265@gmail.com >
2023-08-11 19:03:09 +08:00
dignow
e85c0d16b6
fix set minimized state
...
Signed-off-by: dignow <linlong1265@gmail.com >
2023-08-11 16:08:47 +08:00
dignow
d66b10b508
fix windowOnTop, maxmized state
...
Signed-off-by: dignow <linlong1265@gmail.com >
2023-08-11 15:54:21 +08:00
dignow
14cbd842f5
fix https://github.com/rustdesk/rustdesk/issues/5340
...
Signed-off-by: dignow <linlong1265@gmail.com >
2023-08-11 15:03:06 +08:00
dignow
9a7a600407
remove global render texture instance
...
Signed-off-by: dignow <linlong1265@gmail.com >
2023-08-09 12:46:40 +08:00