eXeC64/imv

Imv considers window size 0x0 unless explicitly set by compositor

Opened this issue · 0 comments

I can’t tell for sure it’s imv bug as the compositor this happens in (kiwmi) is pretty much WIP & in other I don’t know what’s happening there (e.g. Sway definitely resizes it). In Wayfire the bug also occurs, just the window is resized from its visible size.

So, the bug:

  • when I just run imv image.png w/o any config, its window has the screen size & is black. Holding i has no effect on this, pressing : doesn’t show anything (but :q quits imv). I can resize the window but nothing changes*
  • when I add default size (half size of my screen) in imv config & run imv image.png, nothing changes except for the window size
  • when I add a special case in kiwmi config to resize the window (to half the screen size) before showing it, it works as expected

*actually, now I’ve tried once again & it worked when I resized it to something like 100x50px, but I can’t tell what exactly I was doing because I saw almost nothing (because of a general issue with kiwmi)

Edit: Resizing the window can be done at any time. What I said before (& striked out) is probably because of another kiwmi (or my config) bug.

Another edit: oh wait, no. It’s pretty simple: imv sets its size to 0x0 (so when I try to resize it, I have to enlarge it — this is what I thought was a kiwmi bug), but renders a black rectangle of the expected size.

And yet another edit: Today after trying it in WF, I run it once again in kiwmi. This time it worked well except for resizing (which went from 0x0)