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

Problem with scrolling logs on Windows 10 #31

Closed
szegi opened this issue Jan 8, 2019 · 17 comments
Closed

Problem with scrolling logs on Windows 10 #31

szegi opened this issue Jan 8, 2019 · 17 comments

Comments

@szegi
Copy link

szegi commented Jan 8, 2019

I don't know if it's intended but i can't scroll logs from selected pod
I see when there is new info added
but i can't scroll it up or down using these shortcuts
obraz

Im using release 0.3.2 on Windows 10, and i have info in Resources that "Resource usage metrics is unavailable"

@astefanutti
Copy link
Owner

I don't know if it's intended but i can't scroll logs from selected pod
I see when there is new info added
but i can't scroll it up or down using these shortcuts

I think you need to click on the log widget so that it has focus and receives the shortcut events.

Im using release 0.3.2 on Windows 10, and i have info in Resources that "Resource usage metrics is unavailable"

It is either due to permissions or your cluster version, see #11.

@szegi
Copy link
Author

szegi commented Jan 9, 2019

I run it using kubebox.exe and i don't see how to focus on log widget, it looks like normal cmd app
obraz

@astefanutti
Copy link
Owner

You can five focus on the logs widget by clicking on it. Then you should be able to use the shortcuts.

You should be able to scroll the logs with the mouse wheel as well. It works on Linux and Mac OS but I haven't tested it on Windows 10.

@szegi
Copy link
Author

szegi commented Jan 9, 2019

On windows i can't focus on anything:/
i can use shortcuts, but if they depend on focus
i am not able to use it
maybe option for global shortcuts like these M,C,T
i don't need focus there

@astefanutti
Copy link
Owner

I get your point. I wonder if mouse support actually works on Windows 10. It may depend on your terminal emulator configuration. By chance, does clicking on the debug tab work?

@johnpoth
Copy link
Collaborator

johnpoth commented Jan 9, 2019

I wonder if running it in Cygwin makes a difference...

@szegi
Copy link
Author

szegi commented Jan 9, 2019

By chance, does clicking on the debug tab work?

No it doesnt change anything, i can switch there only with keyboard

I wonder if running it in Cygwin makes a difference...

I tried to run ./kubebox.exe in cygwin but it doesn't work at all or i'm doing something wrong

@szegi
Copy link
Author

szegi commented Feb 26, 2019

any news on this?:)

@astefanutti
Copy link
Owner

@szegi unfortunately no. Can you just check that clicking on the debug tab works? That will confirm that mouse support does not work on your Windows environment.

I still need to have a proper Windows environment to troubleshoot. Otherwise, I think we need to work on a solution that could change focus from the keyboard, like TAB and SHIFT+TAB.

@szegi
Copy link
Author

szegi commented Feb 26, 2019

I tried and it didn't work, i will also try on my home computer later today
keyboard shortcuts like n,r,m,2 work without any issues

edit: on my second windows machine this issue still occurs

@code-to-joy
Copy link

I cannot get the mouse to work in the console. It works in the console in general, but not in kubebox. I also cannot scroll the log window, as the others above.

@astefanutti
Copy link
Owner

@code-to-joy can you confirm you're using Windows OS?

@code-to-joy
Copy link

@astefanutti I can. Windows 10. I also noticed that it actually works in a different shell emulator. I'm using "cmder" (which is ConEmu in the foundation) when it doesn't work. When I switch over to "Terminus", it actually works.

@astefanutti
Copy link
Owner

@code-to-joy thanks for the feedback.

It seems most terminal emulators on Windows do not support mouse events. We'll try to dig into this. Otherwise, more generally, I think a keyboard-only navigation would be a plus, and would mitigate the lack of mouse support on Windows.

@astefanutti
Copy link
Owner

Fixed with #104.

@625781186
Copy link

@code-to-joy感谢您的反馈。

Windows 上的大多数终端模拟器似乎都不支持鼠标事件。我们将尝试深入研究这一点。否则,更一般地说,我认为仅使用键盘的导航将是一个加分项,并且可以缓解 Windows 上缺少鼠标支持的情况。

@code-to-joy thanks for the feedback.

It seems most terminal emulators on Windows do not support mouse events. We'll try to dig into this. Otherwise, more generally, I think a keyboard-only navigation would be a plus, and would mitigate the lack of mouse support on Windows.

@code-to-joy thanks for the feedback.

It seems most terminal emulators on Windows do not support mouse events. We'll try to dig into this. Otherwise, more generally, I think a keyboard-only navigation would be a plus, and would mitigate the lack of mouse support on Windows.

No ,
https:/migueldeicaza/gui.cs
https:/prompt-toolkit/python-prompt-toolkit ,
they ary both support mouse on win10 .

It's kubebox can't support mouse click on win10 ?

@625781186
Copy link

@code-to-joy感谢您的反馈。
Windows 上的大多数终端模拟器似乎都不支持鼠标事件。我们将尝试深入研究这一点。否则,更一般地说,我认为仅使用键盘的导航将是一个加分项,并且可以缓解 Windows 上缺少鼠标支持的情况。

@code-to-joy thanks for the feedback.
It seems most terminal emulators on Windows do not support mouse events. We'll try to dig into this. Otherwise, more generally, I think a keyboard-only navigation would be a plus, and would mitigate the lack of mouse support on Windows.

@code-to-joy thanks for the feedback.
It seems most terminal emulators on Windows do not support mouse events. We'll try to dig into this. Otherwise, more generally, I think a keyboard-only navigation would be a plus, and would mitigate the lack of mouse support on Windows.

No ,
https:/migueldeicaza/gui.cs
https:/prompt-toolkit/python-prompt-toolkit ,
they ary both support mouse on win10 .

It's kubebox can't support mouse click on win10 ?

Oh , It's a reason about https:/chjj/blessed can't support mouse on win10.

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

No branches or pull requests

5 participants