Bug 337733 - With OpenGL disabled after zooming in/out with the mouse wheel the canvas is not automatically refreshed.
Summary: With OpenGL disabled after zooming in/out with the mouse wheel the canvas is ...
Status: RESOLVED WORKSFORME
Alias: None
Product: krita
Classification: Applications
Component: General (other bugs)
Version First Reported In: git master (please specify the git hash!)
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Krita Bugs
URL:
Keywords:
: 339619 (view as bug list)
Depends on:
Blocks:
 
Reported: 2014-07-23 15:55 UTC by Ico_dY
Modified: 2017-03-01 14:59 UTC (History)
6 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments
Non-OpenGL Bug Screenshot (931.93 KB, image/png)
2014-07-26 18:27 UTC, Ico_dY
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ico_dY 2014-07-23 15:55:31 UTC
With OpenGL disabled after zooming in/out with the mouse wheel (from min to max and vice-versa), the canvas is not automatically refreshed so "tile" artifacts appear on screen. Everything goes back to normal clicking on an item of the drop-down menu.
Comment 1 Scott Petrovic 2014-07-26 03:40:32 UTC
I am also experiencing something similar. I am on Ubuntu 14.04 with Krita on git master (from source).

It appears related to OpenGL in some way. There is something with the fragment(tile) redrawing. The filtering seems to play some part in it as well. Tri-linear and highest quality filtering don't seem to have this issue. Here is a quick unlisted screen capture of my experience.

https://www.youtube.com/watch?v=Ntrnv7iWBcY&feature=youtu.be
Comment 2 Halla Rempt 2014-07-26 06:36:53 UTC
Which gpu/driver? I am pretty sure that for the opengl issue, it's a driver thing. I cannot explain (or reproduce) a refresh issue when opengl is disabled.
Comment 3 Halla Rempt 2014-07-26 08:59:01 UTC
With my nvidia card I can reproduce the issue with nearest/bilinear.
Comment 4 Halla Rempt 2014-07-26 10:04:37 UTC
I think I fixed both opengl-related issues. I'm still not able to reproduce the non-opengl issue -- besides, that report dates from before the commit that caused this bug.
Comment 5 Scott Petrovic 2014-07-26 12:50:20 UTC
great. I just pulled lastest and it fixed the OpenGL issues. Thanks Boud!
Comment 6 Ico_dY 2014-07-26 17:53:04 UTC
...But it doesn't fix the issue with non-OpenGL canvas... ^^
Comment 7 Ico_dY 2014-07-26 17:55:15 UTC
I tried with a Nvidia 9500GT with closed and open source driver but I got the same result...
Comment 8 Halla Rempt 2014-07-26 17:58:32 UTC
Yes -- and I really wonder what's up there. The non-opengl canvas can't be influenced by graphics cards so Scott's report actually was a completely different bug.

Could you perhaps make a screenshot for me?
Comment 9 Ico_dY 2014-07-26 18:27:40 UTC
Created attachment 87967 [details]
Non-OpenGL Bug Screenshot
Comment 10 Ico_dY 2014-07-26 18:29:06 UTC
I've just uploaded a screenshot in attachment... ^^
Comment 11 Halla Rempt 2014-07-26 19:10:08 UTC
Thanks! I still don't know what causes this, though, it's a total mystery. What's the linux you're using, and which version of Qt?
Comment 12 Ico_dY 2014-07-26 19:37:18 UTC
I'm on Xubuntu 14.04.1 lts...
Compiling Krita I read "found Qt-Version 4.8.6" and the package version is 4.8.5+git192-g085f851+dfsg-2ubuntu4...
Comment 13 Sven Langkamp 2014-07-26 20:21:14 UTC
I have Kubuntu 14.04 and I don't have the non-opengl bug. Have you tried if different images have the same problem? For example if you create a new image vs opening an existing one.
Comment 14 Ico_dY 2014-07-26 21:24:08 UTC
Yes, I tried. Same problem with a new picture or opening an existing one.
Comment 15 Halla Rempt 2014-08-23 12:12:49 UTC
I actually could reproduce this a couple of times -- it doesn't happen every time, for me at least.
Comment 16 Halla Rempt 2014-11-05 12:00:31 UTC
*** Bug 339619 has been marked as a duplicate of this bug. ***
Comment 17 Avelino De Sabbata 2014-11-08 15:24:27 UTC
Also the last build (07/11/2014) has the same problem
Comment 18 Avelino De Sabbata 2014-11-08 15:36:58 UTC
do not consider the comments above! It refers to another bug. sorry
Comment 19 tokiedian 2016-03-21 17:15:22 UTC
The bug also happens in 2.9.7. on windows: https://twitter.com/smdmg/status/711955473168084992
Comment 20 Halla Rempt 2017-03-01 14:59:31 UTC
I'm sorry, but the QPainter canvas only exists for backup, and the OpenGL code has been rewritten multiple times since 2016, so I am going to close this bug, since it's confusing to have two issues in one bug report.