Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a virtual navigation bar 添加虚拟导航栏 #5299

Open
YanYiGe2023 opened this issue Sep 16, 2024 · 3 comments
Open

Add a virtual navigation bar 添加虚拟导航栏 #5299

YanYiGe2023 opened this issue Sep 16, 2024 · 3 comments

Comments

@YanYiGe2023
Copy link

操作全屏幕手势的手机很难进行返回、多任务等操作
Phones that operate full-screen gestures have a hard time doing things like going back, multitasking, and so on
屏幕截图 2024-09-16 212545
因为我很喜欢在需要同时使用手机和电脑进行协助时使用scrcpy
Because I love using scrcpy when I need to use my phone and computer for assistance at the same time
但是每当我想返回时总是会调整窗口大小(我的电脑有触摸屏)
But the window is always resized whenever I want to go back (my computer has a touch screen)
屏幕截图 2024-09-16 214745
有什么办法可以添加虚拟导航栏或者锁定窗口大小吗?
Is there any way to add a virtual navigation bar or lock the window size?

@rom1v
Copy link
Collaborator

rom1v commented Sep 16, 2024

Is there any way to add a virtual navigation bar

No, but there are shortcuts: #7 (comment)

But the window is always resized whenever I want to go back

Not sure to understand. The window is resized when the device resolution changes (due to rotation or something). Is it your case?

EDIT: oh, ok, you perform a gesture to go BACK, and you resize the window instead, is that correct?

@YanYiGe2023
Copy link
Author

有什么方法可以添加虚拟导航栏

否,但有快捷方式:#7 (评论)

但是每当我想返回时,窗口总是会调整大小

不确定是否理解。当设备分辨率发生变化时(由于旋转或其他原因),窗口的大小会调整。是你的情况吗?

编辑:哦,好的,你做一个手势返回,然后你调整窗口的大小,对吗?

我说的不太严谨,当我进行全屏幕手势返回时,Windows误以为我想调整窗口尺寸,于是scrcpy窗口尺寸被调整并出现黑边
I'm not too strict, when I go back with a full-screen gesture, Windows mistakenly thinks I want to resize the window, so the scrcpy window size is resized and black bars appear

@rom1v
Copy link
Collaborator

rom1v commented Sep 16, 2024

OK, then use shortcuts for BACK (right-click) 😉

(please write in English only)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants