https://bugs.winehq.org/show_bug.cgi?id=39158
Bug ID: 39158 Summary: strange behaviour of WinForms components using MS .net Product: Wine Version: 1.7.50 Hardware: x86 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: mayth@arcor.de Distribution: ---
Created attachment 52192 --> https://bugs.winehq.org/attachment.cgi?id=52192 executable of the demo
The bug was detected on a system as follows: * Linux Mint 17.2 64-bit * Wine 1.7.50 with a 32-bit environment * orginal Microsoft .net 4.0 framework installed in Wine (using winetricks)
Attached is a simple .net program which is written in C# and consists of several small source files.
The main windows of this program contains a component of type System.Windows.Forms.StatusStrip with property GripStyle=Visible. Moreover, the main window contains a component of type System.Windows.Forms.ToolTip which is connected with some other GUI component (which is a simple button in this demo).
The compiled exe file is attached. If it is executed on a Windows system, the status strip shows a grip which can be used for resizing the window (additionally to the actual borders of the window). Moreover, the tooltip attached to the button works as expected.
If the same exe file is executed on a Linux system as described above (i.e. Wine using the original MS .net 4.0 framework), the behaviour is different. The status strip does not show an additional grip. However, the position where the grip should be diplayed is sensible to mouse actions. But it does not cause resizing of the window but some strange resizing effect on the other GUI elements of the window (in this demo on the button). Moreover, the tooltip attached to the button steals the focus from the window (this is in particular a problem for text edit boxes as clicking on the box leads to the tool tip stealing the focus from the edit box, so you cannot really enter text...). By the way, the tool tip which is attached to the status strip element works fine (but this is not a connected element of type Forms.ToolTip but is implemented by the StatusStrip itself...).
The same executable using the same .net framework behaves in different ways, depending on whether this is run on windows or on linux using wine. Therefore, the reason for the difference must be found within wine.
https://bugs.winehq.org/show_bug.cgi?id=39158
--- Comment #1 from Tom May mayth@arcor.de --- Created attachment 52193 --> https://bugs.winehq.org/attachment.cgi?id=52193 source file no. 1
https://bugs.winehq.org/show_bug.cgi?id=39158
--- Comment #2 from Tom May mayth@arcor.de --- Created attachment 52194 --> https://bugs.winehq.org/attachment.cgi?id=52194 source file no. 2
https://bugs.winehq.org/show_bug.cgi?id=39158
--- Comment #3 from Tom May mayth@arcor.de --- Created attachment 52195 --> https://bugs.winehq.org/attachment.cgi?id=52195 source file no.3
https://bugs.winehq.org/show_bug.cgi?id=39158
Tom May mayth@arcor.de changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |mayth@arcor.de
https://bugs.winehq.org/show_bug.cgi?id=39158
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |dotnet, download, source, | |testcase