http://bugs.winehq.org/show_bug.cgi?id=23554
Summary: Error in GDI affects IrfanView 4.27 Product: Wine Version: 1.2-rc6 Platform: x86 URL: http://en.irfanview-forum.de/vb/showthread.php?6661-V4 -27-IrfanPaint-no-longer-keeps-data(removed-when-paint -closed)&p=30835 OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: gdi32 AssignedTo: wine-bugs@winehq.org ReportedBy: mrk@emarkay.com
The plugin for IrafanView, IrfanPaint, has given me trouble in keeping the changes it has made applied to the original. In 4.25 I found that if you zoomed to "Original Size" it would keep it's data (lines text, edits, etc.) when the dialog was closed, but now in 4.27 (with the latest 4.13.67 Paint) , there is nothing I can find to keep the changes. Even saving "in process" does not keep the changes made to that point!
From Developer of plugin:
"My educated guess on this fact is that Wine for DibSections uses a hybrid approach: it creates a DIB a DDB (which probably is actually an X bitmap); the work performed by the GDI methods is done on the DDB/X bitmap, which is converted to DIB whenever the software tries to write on the DIB bits (I think they use some kind of page protection method to do that). So, when IrfanPaint just uses GDI methods to perform his work, the changes are made just on the DDB and aren't mirrored on the DIB, thus causing the problem; instead, when IP also writes directly on the DIB bits, before it does so the changes done to the DDB are automatically mirrored on the DIB, so everything works fine.
If things are like that, a quick workaround can be created to just make a "fake write" on the DIB to force the update after each tool use. It would be quite a small change and it should solve the problem.
Still, IMHO, to make such DIB/DDB system to work successfully they should have set the update also on DIB read, maybe creating a "dirty flag" to avoid unnecessary updates. "
http://bugs.winehq.org/show_bug.cgi?id=23554
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download
http://bugs.winehq.org/show_bug.cgi?id=23554
Dmitry Timoshkov dmitry@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |DUPLICATE
--- Comment #1 from Dmitry Timoshkov dmitry@codeweavers.com 2010-07-08 00:28:46 --- Duplicate.
*** This bug has been marked as a duplicate of bug 421 ***
http://bugs.winehq.org/show_bug.cgi?id=23554
Dmitry Timoshkov dmitry@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #2 from Dmitry Timoshkov dmitry@codeweavers.com 2010-07-08 00:29:17 --- Closing duplicate.
http://bugs.winehq.org/show_bug.cgi?id=23554
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|CLOSED |UNCONFIRMED Resolution|DUPLICATE |
--- Comment #3 from Alexandre Julliard julliard@winehq.org 2010-07-08 02:59:39 --- There's no reason to believe that this requires a DIB engine. GDI changes are of course mirrored to the DIB when it's accessed, so there must be something else going on here.
http://bugs.winehq.org/show_bug.cgi?id=23554
Michael K. mrk@emarkay.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |mrk@emarkay.com
--- Comment #4 from Michael K. mrk@emarkay.com 2010-07-27 16:50:03 --- "...so there must be something else going on here."
Well? Anyone have any additional info? :)
http://bugs.winehq.org/show_bug.cgi?id=23554
François francois.melchior@belgacom.net changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |francois.melchior@belgacom. | |net
--- Comment #5 from François francois.melchior@belgacom.net 2012-03-25 16:35:00 CDT --- Isn't this a duplicate of bug 26540 ?
http://bugs.winehq.org/show_bug.cgi?id=23554
Bruno Jesus 00cpxxx@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED CC| |00cpxxx@gmail.com Resolution| |DUPLICATE
--- Comment #6 from Bruno Jesus 00cpxxx@gmail.com 2012-06-18 22:35:48 CDT --- (In reply to comment #5)
Isn't this a duplicate of bug 26540 ?
Yes, same description from that bug and since that one is fixed I'm marking this one as a duplicate. I retested in wine 1.5.6 and it's working. Thanks for pointing it out.
*** This bug has been marked as a duplicate of bug 26540 ***
http://bugs.winehq.org/show_bug.cgi?id=23554
André H. nerv@dawncrow.de changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED CC| |nerv@dawncrow.de
--- Comment #7 from André H. nerv@dawncrow.de 2012-06-22 12:56:23 CDT --- closing dup