# Strange glitch in ImageView hoverinfo

**URL:** https://discourse.julialang.org/t/strange-glitch-in-imageview-hoverinfo/11959
**Category:** Visualization
**Tags:** question, bug
**Created:** [June 26, 2018, 10:08am UTC](https://discourse.julialang.org/t/strange-glitch-in-imageview-hoverinfo/11959 "2018-06-26T10:08:54Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![yakir12](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/yakir12/32/297_2.png) [@yakir12](https://discourse.julialang.org/u/yakir12)
#### Post date: [June 26, 2018, 10:08am UTC](https://discourse.julialang.org/t/strange-glitch-in-imageview-hoverinfo/11959/1 "2018-06-26T10:08:54Z")

</div>

After creating a 500x500 pixel image and displaying it:

```julia
using ImageView
imshow(rand(500, 500))

```

I found out that the `hoverinfo` is wrong by ~50 pixels regardless of the size of the displayed image (the cursor was at the bottom-right corner of the image before this screenshot):

 ![screenshot_2018-06-26_12%3A00%3A53](https://global.discourse-cdn.com/julialang/original/3X/3/c/3c7b572fcff4eaa8d50c4a2a2b00054ff96700a5.jpeg)  
Is anyone else getting the same results?

---

<div class="post-metadata">

### Author: ![yakir12](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/yakir12/32/297_2.png) [@yakir12](https://discourse.julialang.org/u/yakir12)
#### Post date: [June 26, 2018, 12:32pm UTC](https://discourse.julialang.org/t/strange-glitch-in-imageview-hoverinfo/11959/2 "2018-06-26T12:32:53Z")

</div>

Here’s for a 100x100 image (cursor was at bottom-right corner):  
 ![screenshot_2018-06-26_14%3A29%3A56](https://global.discourse-cdn.com/julialang/original/3X/c/0/c0680bce0f73934c98a175181486cc4095744873.png)  
**Interestingly** , for a 50x50 image it gets it right (couldn’t get the cursor _exactly_ on the edge):  
 ![screenshot_2018-06-26_14%3A31%3A54](https://global.discourse-cdn.com/julialang/original/3X/a/6/a62b8d95f29b01719d3ac4bc151d486adbe02526.png)

What is going on…?

---

<div class="post-metadata">

### Author: ![tim.holy](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/tim.holy/32/52_2.png) [@tim.holy](https://discourse.julialang.org/u/tim.holy)
#### Post date: [June 27, 2018, 4:38pm UTC](https://discourse.julialang.org/t/strange-glitch-in-imageview-hoverinfo/11959/3 "2018-06-27T16:38:08Z")

</div>

Works for me. Maybe report as a bug to ImageView and give full platform details & version info of packages (at least Gtk, Cairo, Reactive, GtkReactive, and ImageView).

---

<div class="post-metadata">

### Author: ![yakir12](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/yakir12/32/297_2.png) [@yakir12](https://discourse.julialang.org/u/yakir12)
#### Post date: [June 27, 2018, 6:05pm UTC](https://discourse.julialang.org/t/strange-glitch-in-imageview-hoverinfo/11959/4 "2018-06-27T18:05:35Z")

</div>

Thank you Tim! [Issued](https://github.com/JuliaImages/ImageView.jl/issues/148). Let me know if anything is missing etc.

---

<div class="post-metadata">

### Author: ![yakir12](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/yakir12/32/297_2.png) [@yakir12](https://discourse.julialang.org/u/yakir12)
#### Post date: [June 27, 2018, 8:33pm UTC](https://discourse.julialang.org/t/strange-glitch-in-imageview-hoverinfo/11959/5 "2018-06-27T20:33:47Z")

</div>

Did I want to pin GtkReactive? I guess I did at some point. Anyways, I freed it and now all is well in the world. Thanks goes to his holiness @tim.holy…
