http://bugs.winehq.org/show_bug.cgi?id=14792
Summary: Entered IP address rejected as invalid by a program Product: Wine Version: CVS/GIT Platform: PC OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown AssignedTo: wine-bugs@winehq.org ReportedBy: patrol@sinus.cz
Hi! I'm trying to upgrade firmware of a Linksys VoIP gateway. There is a windows binary for this purpose, which communicates with the gateway. The program starts normally and asks for IP address of the gateway to be upgraded. A dialog appears with a line and three dots in it to separate the octets. Clicking into the line to place the cursor causes wine to emit the following single line to the console: err:ipaddress:IPADDRESS_GetPartIndex We subclassed the wrong window! (hwnd=0x1003a) There are visually no problems with entering the address. However, clicking on OK in the dialog to submit the entered IP address emits the same wine message again, and the program immediately responds with a small dialog saying "Invalid IP address". I didn't find any way to work this problem around, so I cannot use the program and upgrade my gateway :-(. I cannot upload the binary of the upgrader because of its copyright; however, I think I can send a single copy to a person which would eventually work on this bug. With regards, Pavel Troller
http://bugs.winehq.org/show_bug.cgi?id=14792
--- Comment #1 from Lei Zhang thestig@google.com 2008-08-07 15:29:25 --- Is the program available for download from the vendor's site?
http://bugs.winehq.org/show_bug.cgi?id=14792
--- Comment #2 from Pavel Troller patrol@sinus.cz 2008-08-07 15:54:42 --- Yes, it is, but you need an ID/username/password (yes, 3 different things) to log in.
http://bugs.winehq.org/show_bug.cgi?id=14792
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Version|CVS/GIT |unspecified
--- Comment #3 from Austin English austinenglish@gmail.com 2009-01-20 02:39:48 --- Removing deprecated CVS/GIT version tag. Please retest in current git. If the bug is still present in today's wine, but was not present in some earlier version of wine, please update version field to earliest known version of wine that had the bug. Thanks!
http://bugs.winehq.org/show_bug.cgi?id=14792
--- Comment #4 from Pavel Troller patrol@sinus.cz 2009-01-20 04:04:51 --- The bug is still present in wine-1.1.13, as of Jan 20, 2009. The program behaviour is identical, including wine error message and program dialog saying "Invalid IP address".
http://bugs.winehq.org/show_bug.cgi?id=14792
slaroy slaroy@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |slaroy@gmail.com
--- Comment #5 from slaroy slaroy@gmail.com 2009-03-16 14:00:00 --- I can confirm this behaviour with 1.1.17. See following link for free download.
http://www-ca.linksys.com/servlet/Satellite?c=L_Download_C2&childpagenam...
http://bugs.winehq.org/show_bug.cgi?id=14792
--- Comment #6 from Nikolay Sivov bunglehead@gmail.com 2009-03-17 02:44:59 --- (In reply to comment #4)
The bug is still present in wine-1.1.13, as of Jan 20, 2009. The program behaviour is identical, including wine error message and program dialog saying "Invalid IP address".
Hi, Pavel. Could you try this again with native comctl32 override?
http://bugs.winehq.org/show_bug.cgi?id=14792
--- Comment #7 from Nikolay Sivov bunglehead@gmail.com 2009-03-17 06:39:00 --- The reason seems to be in WM_GETTEXT handling which is wrong in builtin IP Address control. Control window should return formatted ip string as its window text. In current implementation control window text isn't ever updated since creation while it should contain '127.0.0.1' string for example. I'll be back with patch when find some spare time - a bunch of tests needed here.
P.S. component could be changed I think.
http://bugs.winehq.org/show_bug.cgi?id=14792
--- Comment #8 from Nikolay Sivov bunglehead@gmail.com 2009-03-17 14:17:19 --- Created an attachment (id=20000) --> (http://bugs.winehq.org/attachment.cgi?id=20000) store ip address string in window text
Pavel, try this patch. It makes possible to retrieve IP string from control window.
http://bugs.winehq.org/show_bug.cgi?id=14792
Pavel Troller patrol@sinus.cz changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |FIXED
--- Comment #9 from Pavel Troller patrol@sinus.cz 2009-04-25 01:35:44 --- Hi Nikolay and possibly others! I'm sorry to respod so lately, but I didn't have time to try the patch sooner. I've tested the issue with wine-1.1.20 and it is over, I can enter an IP address and the program continues (currently I don't have a gateway to upgrade, so I just checked that the program accepts the address and starts to connect to the gateway). I think the bug can be closed. Many thanks for your work! Pavel
http://bugs.winehq.org/show_bug.cgi?id=14792
Nikolay Sivov bunglehead@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Resolution|FIXED |DUPLICATE
--- Comment #10 from Nikolay Sivov bunglehead@gmail.com 2009-04-25 06:39:05 --- Looks like duplicate of already closed 14997.
*** This bug has been marked as a duplicate of bug 14997 ***
http://bugs.winehq.org/show_bug.cgi?id=14792
Nikolay Sivov bunglehead@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #11 from Nikolay Sivov bunglehead@gmail.com 2009-04-25 06:40:08 --- Closing.