mirror of
https://github.com/1Remote/1Remote.git
synced 2026-04-25 13:36:03 +03:00
[GH-ISSUE #894] 窗口大小根据连接类型区分 #3643
Labels
No labels
area-configuration
area-ct-app
area-ct-rdp
area-ct-remoteapp
area-ct-ssh
area-ct-vnc
area-launcher
area-list
area-tags
area-teamwork
bug
chore
dependencies
general-build/ci
general-performance
general-refactor
general-security
general-supportive
general-ux
meta-documentation
meta-enhancement
meta-enhancement
meta-feature
meta-help-wanted
meta-unknown-error
priority-hi
priority-low
pull-request
question
resolution-duplicate
resolution-invalid
resolution-wontfix
stale
task-put-off
task-still-considering
task-working-in-progress
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/1Remote#3643
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @HookDing on GitHub (Mar 21, 2025).
Original GitHub issue: https://github.com/1Remote/1Remote/issues/894
Originally assigned to: @VShawn on GitHub.
当使用ssh的时候希望窗口不用像RDP窗口那么大,但是调整后打开RDP窗口也一样变小了,反之亦然。
希望可以根据连接类型区分窗口大小,或者在连接配置里固定窗口大小。
@VShawn commented on GitHub (Mar 22, 2025):
我曾想过这一点,但仔细想想,目前已连接了一个RDP,此时打开一个SSH时会打开一个 新的Tab 窗口,再打开一个RDP又会在第一个tab窗口中显示,上述UI表现不利于用户理解 UX 会导致困惑。
这一点可以考虑,但我得实验一下这样操作的体验如何,比如说Tab最大化时,固定800X600的SSH界面就会在旁边显示黑边,我不知道这样是否好看和好用。
@itagagaki commented on GitHub (Mar 22, 2025):
How about the following?
The position and size of the window are saved for each server connection setting in databeses.
They are not used when the window is inserted as a tab into the "common" window. They are used when the tab becomes a separate window.
The position and size of the common window are stored separately.
The initial values for window position and size need not be optional, but can be constant, I think.
Feasibility has not been studied.
@HookDing commented on GitHub (Mar 22, 2025):
我的想法是在连接的配置里存储窗口大小,未配置则默认窗口尺寸,或者说公共窗口尺寸
假设尺寸:RDP(1600*900),SSH(960*720)
逻辑实现:当打开一个连接的时候,比如RDP(窗口大小1600*900)
在当前窗口打开新标签页SSH的时候使用当前(1600*900)窗口尺寸打开
在新窗口打开SSH的时候使用SSH配置里的窗口尺寸(960*720)打开另一个窗口
即:在打开新窗口的时候才使用特殊窗口尺寸,在已有窗口添加标签页的时候使用现有窗口尺寸
这样既不会影响原有使用逻辑,又新增了该功能,你看是否可行
@HookDing commented on GitHub (Mar 22, 2025):
Just as I thought, This idea should be feasible.
The public size is used by default, but additional configuration is set to use it when creating a new window.
@VShawn commented on GitHub (Apr 9, 2025):
initial values for window position and size need not be optionalyes, If so many optional optiions are added, the edit list will become cumbersome and complex. Therefore, it is good to add the new window behavior configuration in the settings instead add an option for every server.
New window behaver:
Width = [ INPUT ] Height = [ INPUT ]
@github-actions[bot] commented on GitHub (May 9, 2025):
This issue is stale because it has been open for 30 days with no activity.
@VShawn commented on GitHub (May 9, 2025):
no still under consideration