这是indexloc提供的服务,不要输入任何密码
Skip to content

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

@usernamesareaholdoverfromthe90s

Description

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

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions