Community
Participate
Working Groups
Signals like "map-event" are removed from GTK4 and have some implications for SWT functionality.
Here is a list I have compiled so far: These are replaced by event controller work (bug 539524): key-press-event leave-notify-event motion-notify-event enter-notify-event scroll-event Others that need to be removed/replaced: button-press-event button-release-event configure-event delete-event (see bug 541378) event-after draw focus-out-event focus-in-event grab-focus map-event show-help size-allocate style-set unmap-event window-state-event
The work for "style-set" is tracked by bug 541205.
New Gerrit change created: https://git.eclipse.org/r/135643
Signals replaced by GtkEventController (bug 539524) - key-press-event - leave-notify-event - motion-notify-event - enter-notify-event - scroll-event - focus-in-event - focus-out-event Signals that can replaced by generic event signal - button-press-event - button-release-event - configure-event - map-event - unmap-event - event-after Other signals - draw (bug 540674) - expose-event (replaced by draw signal in GTK3) - show-help - window-state-event (bug 543987)
Gerrit change https://git.eclipse.org/r/135643 was merged to [master]. Commit: http://git.eclipse.org/c/platform/eclipse.platform.swt.git/commit/?id=d70957069be27c7a0616832a3d0c5f9364e95bb0
When running ControlExample on GTK4 I also see: gsignal.c:2423: signal 'change-value' is invalid for instance '0x7f4be2d11e50' of type 'GtkScrollbar' looks like "change-value" isn't a signal for scrollbars anymore in GTK4.
New Gerrit change created: https://git.eclipse.org/r/137904
(In reply to Eric Williams from comment #6) > When running ControlExample on GTK4 I also see: > > gsignal.c:2423: signal 'change-value' is invalid for instance > '0x7f4be2d11e50' of type 'GtkScrollbar' > > looks like "change-value" isn't a signal for scrollbars anymore in GTK4. So it looks like they moved GtkScrollbar out of GtkRange into GtkWidget in GTK4. The only signals we can connect to a GtkScrollbar are actually connected to its GtkAdjustment.
Gerrit change https://git.eclipse.org/r/137904 was merged to [master]. Commit: http://git.eclipse.org/c/platform/eclipse.platform.swt.git/commit/?id=0fc5bd2ac4cda2aa1c9b34d2aac3440a444d5f0e
More signals to be replaced: (SWT:4007): GLib-GObject-WARNING **: 10:00:07.392: gsignal.c:2423: signal 'activate' is invalid for instance '0x7fca1e51a1f0' of type 'GtkSpinButton' (SWT:4007): GLib-GObject-WARNING **: 10:00:07.392: gsignal.c:2423: signal 'populate-popup' is invalid for instance '0x7fca1e51a1f0' of type 'GtkSpinButton'
New Gerrit change created: https://git.eclipse.org/r/139690
Gerrit change https://git.eclipse.org/r/139690 was merged to [master]. Commit: http://git.eclipse.org/c/platform/eclipse.platform.swt.git/commit/?id=6f3efbaa1889e62f73b78c7a2c551b6b3208df78
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet. As such, we're closing this bug. If you have further information on the current state of the bug, please add it and reopen this bug. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant. -- The automated Eclipse Genie.