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

UI freeze when right-clicking #417

Open
dzid26 opened this issue Feb 5, 2025 · 3 comments
Open

UI freeze when right-clicking #417

dzid26 opened this issue Feb 5, 2025 · 3 comments

Comments

@dzid26
Copy link

dzid26 commented Feb 5, 2025

Describe the bug
When time base is 200us or lower and I right click on the plot, the tooltip glitches, the framerate drops and within a few seconds the app becomes unresponsive and never recovers.

It's anno

To Reproduce

Steps to reproduce the behavior:

  1. Use 1khz calibration out and connect the probe to it
  2. Set the trigger on the squarewave, e.g rising edge
  3. Set the timebase to 10us
  4. Right click on the plot

Expected behavior
Tooltip should show up

Screenshots
Before the freeze:
image

Computer environment (please complete the following information):

  • OpenHantek version: [release v3.3.3 and 3.4-rc2-15-gffd1691]
  • OS: [windows11]
  • Screen resolution, screen setup (fullhd 60Hz and 4k 60Hz)
  • Video hardware: [ Intel Iris Xe]

Scope device (please complete the following information):

  • Input signal: [ calibration out 1 kHz, sine wave 1 Veff @ 50 Hz, ...]

Additional context
Add any other context about the problem here, e.g. the program output if started in a console like xterm.

@Ho-Ro
Copy link
Member

Ho-Ro commented Feb 5, 2025

3.3.3 is old and has issues with some graphic constellations on Windows, please try one of the two Windows packages from the latest release 3.4-rc3:
https://github.com/OpenHantek/OpenHantek6022/releases/download/3.4-rc3/openhantek_3.4-rc2-15-gffd1691_mingw_x64.zip
https://github.com/OpenHantek/OpenHantek6022/releases/download/3.4-rc3/openhantek_3.4-rc2-15-gffd1691_msvc_x64.zip
If this does not help I cannot do anything because I do not use Windows and cannot debug your issues.

@dzid26
Copy link
Author

dzid26 commented Feb 5, 2025

None of those helped.

Just to confirm, you don't experience that on Linux?

Recording.2025-02-05.163731.mp4

When the FPS is high, it seems that the tooltip doesn't have time to fully draw and eventually some race condition occurs. It eats up one and then four cores. Ram also slowly increases and fluctuates 100-500MB.
After 3min it does eventually unblock itself.

Setting Minimal Time between capture frames to 20ms is also a workaround. Presumably because 20ms > 1/60Hz.

@Ho-Ro
Copy link
Member

Ho-Ro commented Feb 6, 2025

Just to confirm, you don't experience that on Linux?

No, never saw this kind of freeze. I tried very hard to reproduce just some minutes ago - nothing, sorry.

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