Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Android Studio , tooltip disappearing so fast

I have the following issue , i want to copy the error text from this tooltip but once i mouse-over it, it disappears so fast... and its driving me crazy :) :

enter image description here

I have the following android studio version :

enter image description here

I have the following Settings :

enter image description here

Thanks for the help,

like image 226
Omar BISTAMI Avatar asked Feb 11 '16 14:02

Omar BISTAMI


2 Answers

If someone encounters this problem, it's related to the way the logcat refreshes.

Every time logcat refreshes, even if minimized, the tooltip will disappear, so it seems to be a bug with Android Studio (tried on 4.0).

Disconnecting from your device (so there's no logcat) will effectively keep the tooltip onscreen forever. This is not a fix but the current behavior.

It may become more apparent when logging with "No Filters", so I'd recommend logging "Show only selected application" which may minimize the effects if your application doesn't log too often.

Edit: As suggested in the comments, typing some random text in the Logcat search box will prevent the tooltip from disappearing, as long as nothing from the output matches the text. And you don't have to disconnect the device with this method.

like image 124
Luis Ventura Avatar answered Sep 19 '22 22:09

Luis Ventura


To elaborate on your screenshot a bit, "Value tooltip delay (ms):" only allows one to adjust the delay before a tooltip appears, but not before it disappears.

It seems that Windows allows application developers to control the tooltip removal timeout,(1) but that Android Studio (like most applications) has not included an adjustment for that. You might want to submit a feature suggestion/feedback to them regarding an option to extend the tooltip removal delay.

Possible workaround:
Slowing one's double-click speed in the mouse control panel (screenshot) can extend the amount of time a tooltip displays. However, slowing the double-click speed becomes rather inconvenient when one finds oneself accidentally double-clicking on stuff that one meant to select and move.

As per the Microsoft Tooltips and Infotips Guidelines,(2) some applications use a multiple of the double-click speed delay - typically 10. Assuming Android Studio respects this, if one's Windows double-click delay is set to about 400ms like in my mouse control panel screenshot, tooltips will remain for 4 seconds before disappearing. Most people probably have it set to 480.

Testing with Notepad++, slowing my double-click speed to 880ms (it goes in 80ms steps) caused tooltips to remain for just under 9 seconds, so some applications respect that. I'm not sure if Android Studio uses that approach.

Another workaround is decreasing the delay* before the tooltip displays, so you don't have to wait so long to read it again.
*-(as per your screenshot)

References:

(1) Tooltips with infinite timeout? - UX.stackexchange.com

(2) (apparently I've exceeded my limit on links here, although it let me link Tooltips and Infotips Guidelines above)

like image 40
Wireball MacCarter Avatar answered Sep 18 '22 22:09

Wireball MacCarter