Ticket #48117

Gtk4: signal 'resize' is invalid for instance '0x55a282efbe30' of type 'GtkTextView'

Open Date: 2023-05-31 08:05 Last Update: 2023-06-06 14:35

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

Details

gtk4-client, when started: signal 'resize' is invalid for instance '0x55a282efbe30' of type 'GtkTextView'

This is the only remaining not-theme-related error on gtk4-client launch.

Ticket History (3/4 Histories)

2023-05-31 08:05 Updated by: cazfi
  • New Ticket "Gtk4: signal 'resize' is invalid for instance '0x55a282efbe30' of type 'GtkTextView'" created
2023-05-31 09:35 Updated by: cazfi
  • Owner Update from (None) to cazfi
  • Resolution Update from None to Accepted
  • Milestone Update from (None) to 3.1.0-beta3 (closed)
Comment

Without handling of that signal, chat area is not automatically scrolled to a sensible location when it's resized.

Gtk4 does not provide equivalent mechanism (neither another signal, nor a gesture). Attached patch implements the functionality via the idle callback, i.e., we poll if the message area size has changed.

2023-06-06 14:35 Updated by: cazfi
  • Status Update from Open to Closed
  • Resolution Update from Accepted to Fixed

Edit

You are not logged in. I you are not logged in, your comment will be treated as an anonymous post. » Login