[Bug 59727] New: DrawText rendering bug when DT_WORD_ELLIPSIS / DT_PATH_ELLIPSIS is used
http://bugs.winehq.org/show_bug.cgi?id=59727 Bug ID: 59727 Summary: DrawText rendering bug when DT_WORD_ELLIPSIS / DT_PATH_ELLIPSIS is used Product: Wine Version: 11.7 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: user32 Assignee: wine-bugs@list.winehq.org Reporter: kyle.kcsoftwares@gmail.com Distribution: --- Created attachment 80876 --> http://bugs.winehq.org/attachment.cgi?id=80876 Wine / Windows See screenshot from sample application (source code below) Wine : Adds "..." at the beginning of the string Wine11 : Does not. Found while testing around bug30392 procedure TForm1.Button1Click(Sender: TObject); begin Image1.Width := 100; RenderText; end; procedure TForm1.Button2Click(Sender: TObject); begin Image1.Width := 3; RenderText; end; procedure TForm1.RenderText; var R :TRect; begin R := Image1.ClientRect; DrawText(Image1.Canvas.Handle, 'ThisisaverylongtextaveryverylongtexttotestDT_WORD_ELLIPSISandDT_PATH_ELLIPSIS', -1, R, DT_WORD_ELLIPSIS or DT_PATH_ELLIPSIS or DT_EXPANDTABS or DT_SINGLELINE); Image1.Repaint; end; -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=59727 KRosUser <kyle.kcsoftwares@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Distribution|--- |Ubuntu -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=59727 --- Comment #1 from KRosUser <kyle.kcsoftwares@gmail.com> --- Created attachment 80877 --> http://bugs.winehq.org/attachment.cgi?id=80877 sample app -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=59727 Barath Kannan <barathrk11@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |barathrk11@gmail.com --- Comment #2 from Barath Kannan <barathrk11@gmail.com> --- The ellipsis appear to the beginning and end of the rendered string in Wine 11.9(screenshot attached). Clicking on "Assert Bug" fails with the following message: 0024:err:msvcrt:_wassert (L"pellip->under == 0 && pellip->after == 0",L"../wine-git/dlls/user32/text.c",745) Assertion failed: pellip->under == 0 && pellip->after == 0, file ../wine-git/dlls/user32/text.c, line 745 -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=59727 --- Comment #3 from Barath Kannan <barathrk11@gmail.com> --- Created attachment 80952 --> http://bugs.winehq.org/attachment.cgi?id=80952 Screenshot for comment 3 -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=59727 --- Comment #4 from KRosUser <kyle.kcsoftwares@gmail.com> --- "assert bug" button is for this dedicated ticket: https://bugs.winehq.org/show_bug.cgi?id=30392 -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=59727 --- Comment #5 from KRosUser <kyle.kcsoftwares@gmail.com> --- https://gitlab.winehq.org/wine/wine/-/merge_requests/11298 -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=59727 KRosUser <kyle.kcsoftwares@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |FIXED --- Comment #6 from KRosUser <kyle.kcsoftwares@gmail.com> --- Fixed by https://gitlab.winehq.org/wine/wine/-/commit/5909e9070f2fba8f6231e6a2b1459da... -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=59727 Alexandre Julliard <julliard@winehq.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED --- Comment #7 from Alexandre Julliard <julliard@winehq.org> --- Closing bugs fixed in 11.13. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
participants (1)
-
WineHQ Bugzilla