JuliaImages / ImageView.jl

Interactive display of images and movies
MIT License
135 stars 34 forks source link

Remove redundant show that causes eventloop to remain active #259

Closed IanButterworth closed 2 years ago

IanButterworth commented 2 years ago

Opening this to remind myself.

If https://github.com/JuliaGraphics/Gtk.jl/pull/607 lands, removing this show will mean the Gtk event loop goes to sleep when windows are closed.

With and without that line tests pass locally and I can't tell a functional difference, though I'm not sure I know what to look for. I suspect it's redundant as the widget gets shown by another showall etc.

I also moved over to the new test/Project.toml format given the lowest julia version supported is 1.6

codecov[bot] commented 2 years ago

Codecov Report

Merging #259 (8a0451a) into master (23c3808) will decrease coverage by 0.03%. The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #259      +/-   ##
==========================================
- Coverage   66.94%   66.91%   -0.04%     
==========================================
  Files           7        7              
  Lines         944      943       -1     
==========================================
- Hits          632      631       -1     
  Misses        312      312              
Impacted Files Coverage Δ
src/ImageView.jl 89.15% <ø> (-0.04%) :arrow_down:

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 23c3808...8a0451a. Read the comment docs.

IanButterworth commented 2 years ago

Fixed upstream. See https://github.com/JuliaGraphics/Gtk.jl/pull/607#issuecomment-1013237889