# Makie screen blanks after mouse click-drag

**URL:** <https://discourse.julialang.org/t/makie-screen-blanks-after-mouse-click-drag/15145>\
**Category:** Visualization\
**Created:** [September 18, 2018, 8:20pm UTC](https://discourse.julialang.org/t/makie-screen-blanks-after-mouse-click-drag/15145 "2018-09-18T20:20:45Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![jac299792458](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/jac299792458/32/5360_2.png) [@jac299792458](https://discourse.julialang.org/u/jac299792458)\
**Post date:** [September 18, 2018, 8:20pm UTC](https://discourse.julialang.org/t/makie-screen-blanks-after-mouse-click-drag/15145/1 "2018-09-18T20:20:45Z")

</div>

All,

Has anyone encountered their scene going blank when the mouse click and drag? It’s inconsistent for me, and doesn’t spit out any error messages. There _might_ be a correlation between the error and part of the scene being off-screen, but I can’t be certain. I’ve encountered it a lot today, and generally used right-click drag first, then left-click drag would sometimes work without going blank.

Thanks,

Jason.

---

<div class="post-metadata">

**Author:** ![sdanisch](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/sdanisch/32/1406_2.png) [@sdanisch](https://discourse.julialang.org/u/sdanisch)\
**Post date:** [September 19, 2018, 8:37am UTC](https://discourse.julialang.org/t/makie-screen-blanks-after-mouse-click-drag/15145/2 "2018-09-19T08:37:00Z")

</div>

is this for a 2d scene? I had a problem, which should have been fixed, that basically zoomed to 0 when a drag was 0 length… Does center!(scene) undo this?

---

<div class="post-metadata">

**Author:** ![jac299792458](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/jac299792458/32/5360_2.png) [@jac299792458](https://discourse.julialang.org/u/jac299792458)\
**Post date:** [September 19, 2018, 1:45pm UTC](https://discourse.julialang.org/t/makie-screen-blanks-after-mouse-click-drag/15145/3 "2018-09-19T13:45:25Z")

</div>

Hi Simon,

> is this for a 2d scene?

Nope, 3D. In all it’s glory. 🙂

> I had a problem, which should have been fixed,  
> that basically zoomed to 0 when a drag was 0 length… Does  
> center!(scene) undo this?

Yes, this worked. Thanks! I suppose this indicates the 2D bug is also  
latent in the 3D rendering as well?

Thanks,

Jason.

---

<div class="post-metadata">

**Author:** ![sdanisch](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/sdanisch/32/1406_2.png) [@sdanisch](https://discourse.julialang.org/u/sdanisch)\
**Post date:** [September 19, 2018, 3:14pm UTC](https://discourse.julialang.org/t/makie-screen-blanks-after-mouse-click-drag/15145/4 "2018-09-19T15:14:37Z")

</div>

Weird, I’ve never encountered this in 3D… guess I have to try it out!
