http://bugs.winehq.org/show_bug.cgi?id=24336
Summary: Spreadsheet-like input form uses wrong column size Product: Wine Version: 1.3.2 Platform: x86 OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown AssignedTo: wine-bugs@winehq.org ReportedBy: scallegari@arces.unibo.it
Hi,
I have an application (LTSPICEIV - see http://www.linear.com/designtools/software/#Spice and please try it if useful to understand this report, since it comes at no cost) which uses spreadsheet-like forms to enter some parameters.
As an example, consider the screenshot attached.
When the application is run with wine, entering parameters becomes extremely problematic.
Indeed the spreadsheet is /shown/ correctly. However, when one clicks on a cell to edit it, the cell width gets wrong (apparently the width of the last column gets used rather than the current colum, see the attachment for details).
Hope this is clear enough to fix the issue.
http://bugs.winehq.org/show_bug.cgi?id=24336
--- Comment #1 from Sergio Callegari scallegari@arces.unibo.it 2010-09-10 04:20:25 CDT --- Created an attachment (id=30673) --> (http://bugs.winehq.org/attachment.cgi?id=30673) screenshot
http://bugs.winehq.org/show_bug.cgi?id=24336
--- Comment #2 from Sergio Callegari scallegari@arces.unibo.it 2010-09-10 04:21:16 CDT --- Created an attachment (id=30674) --> (http://bugs.winehq.org/attachment.cgi?id=30674) File to open with the mentioned application to reproduce the bug
http://bugs.winehq.org/show_bug.cgi?id=24336
--- Comment #3 from Nikolay Sivov bunglehead@gmail.com 2010-09-10 04:27:11 CDT --- Hi, Sergio.
Please try 'winetricks cc580' and post results.
http://bugs.winehq.org/show_bug.cgi?id=24336
--- Comment #4 from Sergio Callegari scallegari@arces.unibo.it 2010-09-10 04:28:33 CDT --- Here are the instructions to reproduce the bug:
1) Download and install LTSpiceIV from the National Web site http://www.linear.com/designtools/software/#Spice (the application comes at no cost)
2) Download from the attachments of this bug the file to open to reproduce the issue. Name it "minimal.asc".
3) Start the application
4) From the file menu in the application open "minimal.asc" - a triangular like shape (it is in fact the symbol for an Operational Amplifier) should appear, with "U1" on the side.
5) Right click on the triangle (inside it). A spreadsheet-like form appears, like the one in the screenshot attached to this bug report.
6) Double click in the cell to the right of "Value2" (5th row, 2nd column) to edit it. See that the cell width gets wrong in editing, being set to the width of the 3rd column.
http://bugs.winehq.org/show_bug.cgi?id=24336
--- Comment #5 from Sergio Callegari scallegari@arces.unibo.it 2010-09-10 04:37:55 CDT --- With the "Microsoft" common controls (winetricks cc580) the specific issue is fixed.
However, other issues appear in the same application. Most notably, icon colors are all wrong (e.g. in file open dialogue). As a consequence, in some cases buttons to be pressed that are only identified by an icon become indistinguishable.
http://bugs.winehq.org/show_bug.cgi?id=24336
Nikolay Sivov bunglehead@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Component|-unknown |comctl32 Ever Confirmed|0 |1 Severity|normal |minor
--- Comment #6 from Nikolay Sivov bunglehead@gmail.com 2010-09-10 04:42:00 CDT --- (In reply to comment #5)
With the "Microsoft" common controls (winetricks cc580) the specific issue is fixed.
Ok, changing component.
However, other issues appear in the same application. Most notably, icon colors are all wrong (e.g. in file open dialogue). As a consequence, in some cases buttons to be pressed that are only identified by an icon become indistinguishable.
Yeah, this is a known issue running native comctl32.
http://bugs.winehq.org/show_bug.cgi?id=24336
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download
http://bugs.winehq.org/show_bug.cgi?id=24336
--- Comment #7 from Nikolay Sivov bunglehead@gmail.com 2010-09-27 11:54:22 CDT --- Commit 5d657a106f6ddec07b7d5d70009e4ff969dc7bc1 fixes one problem with edit box calculation. Now a box size is derived from item string length as it supposed to be. There's no way to attach edit box to a subitem without subclassing or messing with its position during notification.
http://bugs.winehq.org/show_bug.cgi?id=24336
--- Comment #8 from Nikolay Sivov bunglehead@gmail.com 2010-10-03 07:33:35 CDT --- Created an attachment (id=31089) --> (http://bugs.winehq.org/attachment.cgi?id=31089) patch
Got it. Please try attached patch over 1.3.4 to verify that it helps.
http://bugs.winehq.org/show_bug.cgi?id=24336
Nikolay Sivov bunglehead@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |patch
http://bugs.winehq.org/show_bug.cgi?id=24336
Nikolay Sivov bunglehead@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED
--- Comment #9 from Nikolay Sivov bunglehead@gmail.com 2010-10-04 11:19:40 CDT --- Should be fixed by 03bd3c8040d2609af4b6d1d32b76b72dd5737951.
http://bugs.winehq.org/show_bug.cgi?id=24336
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #10 from Alexandre Julliard julliard@winehq.org 2010-10-15 12:53:05 CDT --- Closing bugs fixed in 1.3.5.
http://bugs.winehq.org/show_bug.cgi?id=24336
Nikolay Sivov bunglehead@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |03bd3c8040d2609af4b6d1d32b7 | |6b72dd5737951