Menu

#147 Mcomix version 3.1.0 Magnifying Glass flickering

Git
open
nobody
None
5
2024-06-22
2024-05-29
King Death
No

Mcomix version 3.1.0 has some weird issue on my computer where it flickers as I scroll and this problem did not exist on version 1.2.
This is my first time reporting a bug. I am not sure how to label it or what the priority is. Attached are two unlabled videos. The one with the dark theme is the newest version 3.1.0. The light theme is 1.2. Sorry if I got this all wrong and made you guys do more work than you have to this bug has just been bothering me for the past few weeks cause I randomly updated on a whim and it made me stop wanting to read comics.

2 Attachments

Discussion

  • Ark

    Ark - 2024-05-30

    Thank you for reporting a potential bug.

    1. Do you hold down the middle mouse button to activate the magnifying glass? Or do you press the L key to turn it on and off? Does it make any difference with respect to that strange behavior?
    2. Do you notice any differences between different moving speeds?
    3. If you move very, very slowly, will the magnifiying glass always eventually be rendered? Or are there cases where the mouse cursor arrives at a new position, you stay at that position, but no matter how long you wait, the magnifying glass fails to be rendered?
     
  • King Death

    King Death - 2024-05-30
    1. I use middle mouse but the bug happens with both middle mouse and pressing L.

    2. Not really, even when moving as slowly as possible with multiple different DPIs the magnifying glass does the weird flicker. As you can tell it looks like it's just not magnifying for some reason? Like it turns it off and on or something.

    3. I'm not exactly sure but I did try changing DPI and Polling rate. This issue persists regardless of DPI and Polling rate with seemingly no differences in how the magnifying glass flicker operates. If I leave the magnifying glass in one place it will magnify it without flickering. If I move it at a single pixel at a time it may or may not flicker but it seems kind of random. I don't think there is anything I can do that is mouse related to test this other than getting a different mouse if it is even a mouse specific issue.

    I have no clue if this is an issue on other machines but I am going to try it on another PC today. I'll be sure to make an update post if the issue exists on my tower.

    I've only noticed these issues on my laptop but I haven't been using Mcomix on any other device and I had not updated in a long time so I'm sorry for not reporting this sooner. I also forgot to post my specs if the issue is potentially caused by specific hardware so here they are:
    Lenovo Legion 5 15ARH05H
    AMD Ryzen 5 4600H with Radeon Graphics (12 CPUs), ~3.0GHz
    16 gigs of RAM
    NVIDIA GeForce GTX 1660 Ti

    I will be sure to post the specs of my desktop and the results of my test asap.

     
  • King Death

    King Death - 2024-05-31

    Yeah the issue happens on my desktop as well. I'm not sure why.
    It looks a little less prominent but I think that may just be the lower refresh rate on my monitor.
    The laptop has a 120hz panel and my desktop has a 75hz panel.
    Here are my specs on the desktop:
    AMD Ryzen 5 3600X (6 CPUs), ~3.8Ghz
    Faster 16 gigs of RAM
    NVIDIA GeForce GTX 1050 Ti

     
  • Ark

    Ark - 2024-06-05

    Thanks for the info. If the issue persists even when using the L key instead of the middle mouse button, it probably means that it is not directly related to the middle mouse button malfunctioning or anything like that. Maybe something with the mouse cursor somehow disappearing and reappearing for some reason.

    I wonder whether it has something to do with display DPI. Anybody here who knows whether GTK3 has its own notion of display DPI such that it might conflict with Windows' notion of display DPI?

    Try zooming in to images or changing the window's size such that panning is necessary to see all parts of an image. Does a similar issue appear if you try and pan by holding down the left mouse button? That is, does panning suddenly stop or does it appear just as "unsmooth" as the magnifying glass is flickering?

    What about other applications, e.g. MS Paint. Are there similar issues?

     
  • King Death

    King Death - 2024-06-07

    Zooming in using manual zoom and other zoom modes doesn't seem to have any change.
    Changing the window size also doesn't seem to change anything.
    Doing a combination of both didn't seem to change anything either.

    It isn't flickering or anything like that but panning using left mouse after having zoomed in seems to be a little stuttery/less smooth compared to version 1.2? It is very slight though.

    I haven't noticed this issue in any other software. I just tested MS Paint and had no issues zooming or scrolling or panning the canvas.

     
  • Ark

    Ark - 2024-06-13

    Could you please try different values for "animation mode" (see Preferences→Advanced)? Do they have an influence?

    If that did not help: A lot happened between 1.2 and 3.1.0, so we might need to find the first version that introduces the issue. Could you please try 2.0.0? I suspect it to be a GTK+ 3 thing which MComix uses since 2.0.0.

    Another thing that might have an influence here, at least on Windows, is display DPI scaling. Could you please try different settings there? (You might want to note down the original values beforehand.) Not sure whether restarting MComix between different DPI settings is necessary.

     
  • King Death

    King Death - 2024-06-14

    There only seems to be two options for animation mode, Normal and Never, it was on normal and I set it to never. I have seen no difference. I also tried this between every DPI scaling setting.

    Setting my DPI scaling from 125% to 100% did nothing. Setting it from 100% to 150% did nothing. I restarted each time and it didn't change at all.

    The issue also does exist in version 2.0.0. I tried changing the animation mode to no avail. The issue seems to persist regardless of what my settings are. I even tried to override the DPI settings of the exe and it didn't change anything. I also tried version 1.2.1 to be safe and it did not have the issue.

     
  • Ark

    Ark - 2024-06-22

    Thank you for all the information. Let me summarize:

    • Windows,
    • version 2.0.0 or higher (version 3.1.0 also affected, but version 1.2.1 works fine),
    • probably specific to the magnifying glass,
    • probably unrelated to DPI issues,
    • probably unrelated to the image format,
    • not just animation rendering artifacts or anything similar.

    (Note to self: I just tested with GDK_SCALE=3 which does show yet another bug, but at the same time, it demonstrates that the flickering issue is unrelated.)

    Is it possible for you to run MComix straight from the source, e.g. a cloned Git repository? Or apply patches? It might help debugging this issue.

     
  • King Death

    King Death - 2024-06-22

    I don't know exactly how to do that but if you give me a rundown I can try it.

     
  • Ark

    Ark - 2024-06-22

    Actually, I do not know what it is like to program in Python on Windows (also considering dependency issues and all), and I do not have a Windows machine available for testing, but I guess it would be far from simple, which is why I am sorry for having bothered you.

    I wonder whether there is another way to replicate this issue.

     
  • Ark

    Ark - 2024-06-22

    I just set up a Wine environment and installed 3.1.0 there. Looks fine, still not able to replicate.

     
  • King Death

    King Death - 2024-06-22

    I guess you could try a windows 10 virtual machine?
    Not sure if it's possible that the issue is Ryzen CPU specific but all the machines I've tested these newer versions of MComix on have Ryzen CPUs.
    And yeah, sorry I can't do more to help.

     

Log in to post a comment.

Auth0 Logo