Limitations of EDIT control?

Questions about Wine on macOS.
Post Reply
Michael1251
Newbie
Newbie
Posts: 4
Joined: Thu Apr 10, 2025 2:58 am

Limitations of EDIT control?

Post by Michael1251 »

Hello,

I'm using WINE 10.0 on macOS 14.6.1. I noticed a somewhat strange behavior of the EDIT control when a particular text is entered. The problem can be reproduced with WINE own regedit application. Following are the steps:

Step 1: Start 'wine regedit'.
Step 2: Navigate to some key and add there a new string value.
Step 3: Open the value for editing. Thereupon a dialog window appears.
Step 4: The dialog window contains an EDIT control.
Step 5: In the EDIT control copy/paste the following text. This is a fragment of a C-string describing SVG image:

Code: Select all

"<svg width='100%' height='100%' viewBox='0 0 600 300' version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' xml:space='preserve' xmlns:serif='http://www.serif.com/' style='fill-rule:evenodd;clip-rule:evenodd;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:1.5;'><g id='Rect1' transform='matrix(1.92308,0,0,1.73913,-23.0769,-15.5217)'><rect x='25' y='21' width='78' height='46' fill='#007700'/></g><g id='Rect2' transform='matrix(1.92308,0,0,1.73913,156.923,-15.5217)'><rect x='25' y='21' width='78' height='46' fill='#007700'/></g><g id='Rect3' transform='matrix(
Step 6: Ensure the caret is placed behind the last sign.
Step 7: Enter a further sign, e.g. 0 (zero).

This causes the caret to skip to beginning of the text in the EDIT control. The EDIT control seems to stop reacting on user inputs. No caret navigation nor updates are working from now.

Originally I suspect the problem is caused by text length. In this example the text is 617 characters long. However, this does not seem to be the cause. When I remove the last parenthesis, I can add much more characters. It seems, the content itself of the text provokes the behavior.

Does anyone have an idea how to solve the problem? Is it some configuration related issue?

Thank you!
Michael
ToastyBug
Level 2
Level 2
Posts: 20
Joined: Tue Mar 11, 2025 2:02 pm

Re: Limitations of EDIT control?

Post by ToastyBug »

I think you mean the input cursor instead of the caret (caret is this symbol: ^)

I also tested this on Wine-staging 10.5 and the input field becomes blocked, as a workaround you could copy and paste the entire string you want from a separate text editor into the regedit input field

You can also submit a bug if you like to https://bugs.winehq.org/
Michael1251
Newbie
Newbie
Posts: 4
Joined: Thu Apr 10, 2025 2:58 am

Re: Limitations of EDIT control?

Post by Michael1251 »

Hello ToastyBug,

Thank you very much for the confirmation. I will submit a bug report.

Best regards
Michael
Post Reply