http://bugs.winehq.org/show_bug.cgi?id=29758
Bug #: 29758 Summary: Wrong font after freeing link labels Product: Wine Version: unspecified Platform: x86 OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown AssignedTo: wine-bugs@winehq.org ReportedBy: winebugs@jn-games.de Classification: Unclassified
Created attachment 38634 --> http://bugs.winehq.org/attachment.cgi?id=38634 Minimal example, including Delphi source code
You can't remove link labels from the memory. I added a minimal example along with its Delphi source code.
How to use the minimal example: - Click create - Click free - (optional) Click create again
Actual result: Font of the application changes to "System"
Expected result: Font should stay like it was before
Notes: - I did not have the chance to test this with the most recent version of Wine.
http://bugs.winehq.org/show_bug.cgi?id=29758
--- Comment #1 from Janni K. winebugs@jn-games.de 2012-01-31 19:39:28 CST --- Created attachment 38635 --> http://bugs.winehq.org/attachment.cgi?id=38635 Correct screenshot of how it looks after you created the label for the first time.
http://bugs.winehq.org/show_bug.cgi?id=29758
--- Comment #2 from Janni K. winebugs@jn-games.de 2012-01-31 19:40:28 CST --- Created attachment 38636 --> http://bugs.winehq.org/attachment.cgi?id=38636 Bugged screenshot after freeing and recreating the label
http://bugs.winehq.org/show_bug.cgi?id=29758
--- Comment #3 from Dmitry Timoshkov dmitry@baikal.ru 2012-02-01 00:38:43 CST --- What Wine version are you using for testing?
http://bugs.winehq.org/show_bug.cgi?id=29758
--- Comment #4 from Janni K. winebugs@jn-games.de 2012-02-02 10:16:55 CST --- (In reply to comment #3)
What Wine version are you using for testing?
I used 1.1.38 on my year-old Ubuntu and 1.3.11 at university.
http://bugs.winehq.org/show_bug.cgi?id=29758
--- Comment #5 from Janni K. winebugs@jn-games.de 2012-02-02 10:18:48 CST --- Created attachment 38662 --> http://bugs.winehq.org/attachment.cgi?id=38662 Log of version 1.3.11
http://bugs.winehq.org/show_bug.cgi?id=29758
Dmitry Timoshkov dmitry@baikal.ru changed:
What |Removed |Added ---------------------------------------------------------------------------- Version|unspecified |1.3.11
--- Comment #6 from Dmitry Timoshkov dmitry@baikal.ru 2012-02-02 23:49:31 CST --- Your Wine version is very old, please retest with wine-1.4-rc2
http://bugs.winehq.org/show_bug.cgi?id=29758
--- Comment #7 from Janni K. winebugs@jn-games.de 2012-02-10 03:33:09 CST --- Created attachment 38785 --> http://bugs.winehq.org/attachment.cgi?id=38785 Image of the bug when using Wine 1.4rc2
http://bugs.winehq.org/show_bug.cgi?id=29758
--- Comment #8 from Janni K. winebugs@jn-games.de 2012-02-10 03:37:22 CST --- Sorry for the delay. I now had the time to test the problem in wine-1.4rc2 and it looks even worse. With this version, the form's background is not drawn anymore when the bug occurs and therefore is simply white where it should be updated (if you move the window to the back and to the front again, it is all white but the buttons and the link label).
Log is the same as in 1.3.11.
http://bugs.winehq.org/show_bug.cgi?id=29758
Janni K. winebugs@jn-games.de changed:
What |Removed |Added ---------------------------------------------------------------------------- Version|1.3.11 |1.4-rc2
http://bugs.winehq.org/show_bug.cgi?id=29758
Dmitry Timoshkov dmitry@baikal.ru changed:
What |Removed |Added ---------------------------------------------------------------------------- Version|1.4-rc2 |1.3.11
http://bugs.winehq.org/show_bug.cgi?id=29758
Mario Guerra mguerra13@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |mguerra13@gmail.com
--- Comment #9 from Mario Guerra mguerra13@gmail.com 2013-05-13 10:15:34 CDT --- I can confirm this bug with Delphi 7, when using QuickReports. Maybe the problem is with the default font that Delphi uses with TForm. It is a fixed font: "MS Sans Serif", that in certain circunstances (when the font is freeded) is not correctly load again by the executable.
There are two possible workarounds to try: - To copy the files *.fon from a Windows machine to Wine - If you have the Delphi sources, change the font on all the visual components to a different (ttf) font like Arial. I also found that changing the TForm default font, for example, to Arial distorts the forms metrics.
http://bugs.winehq.org/show_bug.cgi?id=29758
--- Comment #10 from Janni K. winebugs@jn-games.de 2013-05-13 12:38:54 CDT --- I didn't know this component was actually included back in Delphi 7, or are you talking about freeing QuickReports (is that a component?)?
Anyway, more recent versions of Delphi use Tahoma (.ttf) by default, still a font not included in Wine and causing big problems in RichEdits (way too small by default with the same settings as the other components). I will try using a Linux font in one of the next days that I also used for the RichEdit workaround. I currently have no Unix machine around.
https://bugs.winehq.org/show_bug.cgi?id=29758
--- Comment #11 from Austin English austinenglish@gmail.com --- This is your friendly reminder that there has been no bug activity for over a year. Is this still an issue in current (1.7.37 or newer) wine? If so, please attach the terminal output in 1.7.37 (see http://wiki.winehq.org/FAQ#get_log).
https://bugs.winehq.org/show_bug.cgi?id=29758
super_man@post.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |super_man@post.com
--- Comment #12 from super_man@post.com --- Seems to be valid bug if the test application is working correctly.
wine 1.8.rc2