https://bugs.winehq.org/show_bug.cgi?id=40562
Bug ID: 40562 Summary: AkelPad: [ToolBar plugin] tooltips for toolbar buttons have some extra text Product: Wine Version: 1.9.5 Hardware: x86-64 URL: https://sourceforge.net/projects/akelpad/files/AkelPad %204/4.9.7/x64/ OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: godevilove@ya.ru Distribution: Debian
OS: Debian 8.4 x64 Wine: wine-development (multiarch) 1.9.5-3~bpo8+1 (from jessie-backports) AkelPad: 4.9.7 (x64)
STR: 1. Install AkelPad using the installer. 2. Run AkelPad and open 'Options > Plugins' (or hit Alt+P) and check there 'ToolBar::Main' checkbox + double click that line to run that plugin immediately. Now there should appear a new toolbar in AkelPad's window. 3. Hover the cursor over some buttons like 'Save' button. There should appear a tooltip with some text.
Expected Result: Text of the tooltip should be just 'Save'.
Actual Result: Text of the tooltip is 'Save<square>Ctrl+S' where '<square>' represents a rectangle symbol, like the one that usually shows up in browsers when there's no icon for that char in the specified font. All other buttons also have tooltips with text in '<text><square><shortcut>' format instead of just '<text>'.
https://bugs.winehq.org/show_bug.cgi?id=40562
--- Comment #1 from Nikolay Sivov bunglehead@gmail.com --- Created attachment 54403 --> https://bugs.winehq.org/attachment.cgi?id=54403 patch
Squares come from tabs in tooltip text, and tabs are there because menu strings are reused for tooltips. According to docs unless TTS_NOPREFIX is used tab char acts as text terminator.
Attached patch fixes this particular application, but it's incomplete - same logic has to be applied in couple more places, also needs tests obviously.
https://bugs.winehq.org/show_bug.cgi?id=40562
Nikolay Sivov bunglehead@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Severity|normal |trivial
https://bugs.winehq.org/show_bug.cgi?id=40562
Nikolay Sivov bunglehead@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Ever confirmed|0 |1 Component|-unknown |comctl32 Status|UNCONFIRMED |NEW
--- Comment #2 from Nikolay Sivov bunglehead@gmail.com --- Confirming.
https://bugs.winehq.org/show_bug.cgi?id=40562
Nikolay Sivov bunglehead@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED Fixed by SHA1| |75059e9ee10dd2505de79849b05 | |d3897c8d88073 Status|NEW |RESOLVED
--- Comment #3 from Nikolay Sivov bunglehead@gmail.com --- Fixed with http://source.winehq.org/git/wine.git/?a=commit;h=75059e9ee10dd2505de79849b0....
https://bugs.winehq.org/show_bug.cgi?id=40562
Nikolay Sivov bunglehead@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download
https://bugs.winehq.org/show_bug.cgi?id=40562
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #4 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 1.9.10.
https://bugs.winehq.org/show_bug.cgi?id=40562
Michael Stefaniuc mstefani@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |mstefani@redhat.com Target Milestone|--- |1.8.x
https://bugs.winehq.org/show_bug.cgi?id=40562
Michael Stefaniuc mstefani@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|1.8.x |---
--- Comment #5 from Michael Stefaniuc mstefani@redhat.com --- Removing 1.8.x milestone from bugs included in 1.8.4.