hoffstadt / hoffstadt/DearPyGui
Tooltip is hidden when left mouse button is down
- Dominant language
- C++
- Stars
- 15.6k
- Forks
- 783
- PR merge metrics
- No merged PRs in 30d
Description
## Version of Dear PyGui
Version: 1.6.2
Operating System: Windows 10
## My Issue/Question
Tooltip assigned to a child window is hidden when user clicks and holds left mouse button on the child window (tooltip gets hidden on mouse_down, gets back visible on mouse_up).
## To Reproduce
Steps to reproduce the behavior:
1. Hover the child window
2. Press and hold left mouse button
3. The tooltip disappears
## Expected behavior
The tooltip should be visible no matter what button is clicked.
## Standalone, minimal, complete and verifiable example
```python
import dearpygui.dearpygui as dpg
dpg.create_context()
dpg.create_viewport()
dpg.setup_dearpygui()
with dpg.window(tag="primary"):
with dpg.group(horizontal=False):
with dpg.child_window(width=-1, height=-1):
with dpg.tooltip(dpg.last_item()):
dpg.add_text("Hi there!")
dpg.show_viewport()
dpg.set_primary_window("primary", True)
dpg.start_dearpygui()
dpg.destroy_context()
```
Contributor guide
Assessment
This issue has not been assessed yet.