Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sacking/layering behavior suddenly occurs #1942

Closed
CryingNova opened this issue Jun 15, 2024 · 14 comments
Closed

Sacking/layering behavior suddenly occurs #1942

CryingNova opened this issue Jun 15, 2024 · 14 comments

Comments

@CryingNova
Copy link

System information

  • Windows OS version: Windows 11 Pro 10.0.22631
  • ImageGlass version: 9.1.6.14
  • ImageGlass release: Store / Classic? Store

To Reproduce

Steps to reproduce the behavior:

  1. Open an image within a folder of other images
  2. Scroll or click through the images
  3. Be met with an odd image stacking/layering behavior

Actual behavior

I am pixel artist, so I work with many tiny individual files every day, and a significant portion of them having transparency. I've been using this program for many, many months now and only suddenly had this issue. I've noticed that whenever I'm browsing images, the images stack/layer on each other after I've scrolled/clicked through a few? But it has no pattern. Very random and inconsistent. Not all images are affected. It seems to somewhat layer the images from around the image currently focused on the screen. I have tried repairing and reinstalling and both haven't made a difference.

Expected behavior

I expect to be able to view the singular image that I click on without having several other images attempting to layer itself in the background or on top of it

Screenshots / Video / Sample image file

The image shows that the current image clicked on and focused on screen also has several other images stacked on top of it in the main viewing window.
5615

@NateUE
Copy link

NateUE commented Jun 18, 2024

I'm seeing the same issue on version 9.1.6.14
Uninstalled 9.1.6.14 and installed 9.0.11.502 and the issue goes away.

@d2phap
Copy link
Owner

d2phap commented Jun 24, 2024

@CryingNova Can you send me your igconfig.json file? I haven't been able to reproduce it

@CryingNova
Copy link
Author

Sorry for taking a while. Here's my igconfig.json from version 9.1
igconfig.json

@harrywenjie
Copy link

harrywenjie commented Jul 5, 2024

Same issue here, version 9.1.7.627
This seems to occur when images have similar name prefix, for example '1-LYCJSFZJ4.png' '1-LYCJSFZJ5.png' ....
These types of names are common in animation sequence.
And only on transparent PNG files, obviously if it is opaque image we would not know because one would cover on top of the other.
Just a wild guess, some kind of buffer is not being clear when changing image.

=====================

@d2phap Here is a zip file containing some sample images to reproduce the bug.
bug_sample.zip

You can reproduce by using the left and right key while browsing the folder. And they will stack after a few images.
There is one image in the folder that does not layer with others, probably because it is a different size.

@d2phap
Copy link
Owner

d2phap commented Jul 12, 2024

I used the igconfig.json file from @CryingNova & the sample files from @harrywenjie, but I could not reproduce.

I tested on version 9.1.7.627

Recording.2024-07-12.125228.mp4

@harrywenjie
Copy link

harrywenjie commented Jul 12, 2024

@d2phap Here is my reproduction of the bug:

2024-07-12_20-32-32.mp4

Same version 9.1.7.627, I even cleaned out appdata and reinstalled image glass, the bug remains.

@d2phap
Copy link
Owner

d2phap commented Jul 12, 2024

Thanks for the video!
I will try to find a way to reproduce the issue on my machine.

@d2phap
Copy link
Owner

d2phap commented Jul 15, 2024

@harrywenjie
Can you check if clicking the "Unload image" menu (or press U) clears the image?

Try the following steps:

  • Open an image
  • Click Unload image, then next image
  • Check if the next image displayed properly?
  • Repeat the above steps

image

@harrywenjie
Copy link

@d2phap I have tried your instructions, Click 'Unload Image'(Or press U) does indeed clear the image from the display. However next image is still layered when immediately clicking on next image or press left or right arrow key. Results are consistent when repeating the steps.

@d2phap
Copy link
Owner

d2phap commented Jul 18, 2024

@harrywenjie
Can you help me check if the issue happens on this build?
https://drive.google.com/file/d/1lltfQ5VQN8KXcqKjGDEGUnKoxwRCAGIE/view?usp=sharing

I removed some lines of code for the "View Image Channels" feature which I think is the cause

@harrywenjie
Copy link

@d2phap It is working! Bug is gone in the linked version.

@d2phap
Copy link
Owner

d2phap commented Jul 19, 2024

@harrywenjie
Copy link

@harrywenjie What about this build? https://drive.google.com/file/d/1TR9JuzDKw9lXQkbrGbxh7hLdK5OyAzy9/view?usp=sharing

This works fine as well.

@d2phap
Copy link
Owner

d2phap commented Jul 22, 2024

Fixed in ImageGlass 9.1.8.723

@d2phap d2phap closed this as completed Jul 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants