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

Tooltips don't dismiss, and block access other controls #8255

Closed
usernamesareaholdoverfromthe90s opened this issue Dec 11, 2024 · 1 comment
Assignees
Milestone

Comments

@usernamesareaholdoverfromthe90s

Please note that security bugs or issues should be reported to security@pgadmin.org.

Describe the bug

Moving a mouse over a control in pgAdmin can generate a tooltip that prevents you from clicking on other controls

To Reproduce

Steps to reproduce the behavior:

  1. Right-click on any table, select "View/Edit Data" | "Filter Rows..." and enter some valid query so that you get some results
  2. Move your mouse over the Connection information, above the "Sort/Filter" icon.
  3. pgAdmin displays a black tooltip (that shows the exact same information as in the Connection field... i.e., not very useful, but I digress) that obscures a number of icons (including the "Sort/Filter" Icon
  4. Move your mouse down to the "Sort/Filter" icon
    --> BUG#1: the tooltip doesn't dismiss when you move the mouse off the connection field.
    --> BUG#2: the tooltip doesn't dismiss when you click the mouse, so you're actually not able to click on "Sort/Filter"

Expected behavior

All tooltips should always dismiss when you move the mouse off the control that triggered the tooltip.

However, if you watch the shared video, it's apparent that the tooltip is not being dismissed if the mouse is moved on to the toolip. I.e., if I move the mouse into/out of the connection field, somewhere that is NOT directly above the tooltip, the tooltip appears and is dismissed as expected. It is only when the mouse is moved down from the connection field into the bounding rectangle of the tooltip that the buggy behaviour appears.

It's almost like you were expecting to add functionality that would allow you to interact with "rich" tooltips, and therefore want the user to be able to select/click on something in the tooltip. But a) you haven't implemented that, b) the tooltip in this case isn't showing anything more than what is already shown in connection field itself, and c) most importantly, it's blocking access to commonly-used controls.

The work around is that if you ever accidently move the mouse up to the Sort/Filter icon, and overshoot a bit so that you end up over the connection field, then you now have to dismiss the unwanted tooltip by moving the mouse sideways, and then down, and then back over to the Sort/Filter icon. Very annoying for people with fast mouse settings.

Screenshots

See here for a video capture showing the behaviour

https://www.awesomescreenshot.com/video/34549085?key=6674fc60706b8b67a785c39944eca96b

Desktop (please complete the following information):

  • OS: Windows 10
  • Version: 8.13
@RohitBhati8269 RohitBhati8269 moved this from 🆕 New to 🏗 In Progress in Current Sprint (184) Dec 23, 2024
RohitBhati8269 pushed a commit to RohitBhati8269/pgadmin4 that referenced this issue Dec 24, 2024
…espace in Filter Rows. pgadmin-org#8254

2. Fix issue where tooltips persist, blocking access to UI controls. pgadmin-org#8255
@RohitBhati8269 RohitBhati8269 moved this from 🏗 In Progress to In Review in Current Sprint (184) Dec 25, 2024
@adityatoshniwal adityatoshniwal moved this from In Review to In Testing in Current Sprint (184) Jan 1, 2025
@adityatoshniwal adityatoshniwal added this to the 9.0 milestone Jan 1, 2025
@yogeshmahajan-1903 yogeshmahajan-1903 self-assigned this Jan 2, 2025
@yogeshmahajan-1903
Copy link
Contributor

This is working fine.

@yogeshmahajan-1903 yogeshmahajan-1903 moved this from In Testing to ✅ Done in Current Sprint (184) Jan 2, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Done
Development

No branches or pull requests

6 participants