thumbnail-zoom icon indicating copy to clipboard operation
thumbnail-zoom copied to clipboard

Addon `eats' the first mouse click while thumbnail is shown

Open ghost opened this issue 11 years ago • 5 comments

How to reproduce the error:

  1. I turn off the option "popup takes keyboard focus".
  2. I hoover over an url pointing to an image (for example on reddit), and the image "window" is displayed.
  3. Without moving the mouse pointer from the url, I left/middle-click it once - nothing happens.
  4. Still not moving mouse pointer, I click second time, and now it behaves properly (opening url in current/new tab).

How it should behave: The first click on an url, whilst image window is shown, should be properly passed to the browser opening that url.

ghost avatar May 15 '14 22:05 ghost

I'm unclear whether it's working as I intended, but you wish for different behavior, or it's a bug not working as intended. Background:

Clicking on the pop-up is designed to dismiss the pop-up and not pass the click through to the web page. So that is the intended behavior /if the mouse cursor is within the pop-up/.

If the mouse cursor is /not/ within hte pop-up the click should take effect, opening the image in current/new tab. My tests indicate that it is working this way.

In your situation, is the mouse cursor within the pop-up or outside of it?

By the way, what versions of Thumbnail Zoom Plus and Firefox, and what operating system?

Thanks, David

On 5/15/14, 3:44 PM, ukaszg wrote:

How to reproduce the error:

  1. I turn off the option "popup takes keyboard focus".
  2. I hoover over an url pointing to an image (for example on reddit http://www.reddit.com/r/cosplaygirls/), and the image "window" is displayed.
  3. Without moving the mouse pointer from the url, I left/middle-click it once - /nothing happens/.
  4. Still not moving mouse pointer, I click second time, and now it behaves properly (opening url in current/new tab).

How it should behave: The first click on an url, whilst image window is shown, should be properly passed to the browser opening that url.

— Reply to this email directly or view it on GitHub https://github.com/dadler/thumbnail-zoom/issues/143.

dadler avatar May 17 '14 18:05 dadler

I am always clicking outside of the popup.

firefox --version Mozilla Firefox 29.0.1 uname -a Linux edge 3.13-1-amd64 #1 SMP Debian 3.13.10-1 (2014-04-15) x86_64 GNU/Linux Thumbnail Zoom Plus version 2.7 my options [http://imgur.com/GMrRCjP]

ghost avatar May 20 '14 08:05 ghost

I'll clarify the problem a bit as I've had it too. The way you've made it work is fine, but having the popup appear behind the mouse is annoying, as when you go over an image for 0.1 or 0.2 seconds, the popup appears just before you right click, causing you to have to right click twice to actually get to the context menu.

It happens a lot in imgur I found, an option for it to never overlap the mouse would be nice.

huntfx avatar Dec 18 '14 22:12 huntfx

Peter, have you tried turning off "Show pictures using all available space"? With that off, the pop-up will not overlap the thumbnail or link which you hover, which should prevent it from being behind the mouse. Does that solve the problem?

dadler avatar Dec 26 '14 06:12 dadler

Yeah very sorry about that, I noticed that option afterwards and kinda forgot about this haha.

huntfx avatar Dec 26 '14 12:12 huntfx