Ticket #45874

gtk4: Editor infinite loop in setting text field

Open Date: 2022-10-16 03:05 Last Update: 2022-10-23 23:36

Reporter:
Owner:
Type:
Status:
Closed
Component:
MileStone:
Priority:
5 - Medium
Severity:
5 - Medium
Resolution:
Fixed
File:
3

Details

gtk4-client freezes when editor mode's "property editor" is opened.

Seems that it's a loop where setting text on the widget causes it to emit "changed" signal again causing setting the value to the widget. The code is supposed to catch when the value has not actually changed, and that works on older clients.

Ticket History (3/6 Histories)

2022-10-16 03:05 Updated by: cazfi
  • New Ticket "gtk4: Editor infinite loop in setting text field" created
2022-10-16 03:33 Updated by: cazfi
  • Owner Update from (None) to cazfi
  • Resolution Update from None to Accepted
  • Milestone Update from (None) to 3.0.5 (closed)
  • Component Update from (None) to Gtk3.22-client
Comment

Reply To cazfi

and that works on older clients.

Even though the other clients somehow get away with it (at least usually), the bug is hiding in all of them. That's why the fix is targeted also to S3_0 where gtk4-client isn't even present.

2022-10-23 23:36 Updated by: cazfi
  • Status Update from Open to Closed
  • Resolution Update from Accepted to Fixed

Edit

Please login to add comment to this ticket » Login