Replies: 6 comments
-
Just to make things even harder, |
Beta Was this translation helpful? Give feedback.
-
The Gtk4 migration has started, it may take some time .... |
Beta Was this translation helpful? Give feedback.
-
5 weeks on, some progress:
To Do (as least)
Caveats
|
Beta Was this translation helpful? Give feedback.
-
To Do (as least)
|
Beta Was this translation helpful? Give feedback.
-
There is now a public mwp4 branch and RC1 build. Welcome to the future. |
Beta Was this translation helpful? Give feedback.
-
mwp is a now gtk4 application. |
Beta Was this translation helpful? Give feedback.
-
Introduction
Recently, a number of third party Gtk+-3 components that are significant mwp dependencies (
libchamplain
and its dependencies,libgdl
) became obsolescent and are effectively unmaintained upstream. This is likely to be an ongoing problem.libchamplain
libchamplain
is responsible for drawing the map and the artefacts on the map (symbols, lines). Its dependenciesclutter
, which manages OpenGL objects) andcogl
, low level OpenGL APIwere declared obsolete some time ago (when GTK4 was announced) and are unmaintained.
Visible Effects
may be displayed on
stderr
.The workaround is to use XWayland to run mwp, by setting
GDK_BACKEND=x11
in$HOME/.config/mwp/cmdopts
. However this is not a perfect mitigation.With
GDK_BACKEND=x11
set, in some cases 'picking' map symbols may not be possible. This is alleviated by moving the mouse off the map and back again. This was a result of mwp displaying modal dialogues over that map; mwp has addressed this as far as possible by making (all) dialogues non-modal, with an unavoidable increase in internal complexity.Compositors
The following compositors are not affected
The following compositors are affected (i.e. buggy, broken)
libgdl (Gnome Docking Library)
libgdl
manages the dock on the right hand side. Its dependencies includeGlib2
. A recent update toGlib2
(to 2.74.0) breaks the way thatlibgdl
sets object properties.Visible Effects
stderr
such as:and
Workaround
It may be possible to use a version of GLIb2 less than 2.74.0. For example with GLib2 2.72.3 installed in
$HOME/.local/lib
, launching mwp as:may fix the issue. This may be automated with a script or alias if desired.
Migrating mwp to GTK4
The long term solution is to migrate mwp to GTK4 (and its dependencies):
The Gtk4 replacements for
libchamplain
andlibgdl
are not currently sufficiently functional to meet mwp's needs:libshumate
(libchamplain
replacement) is missing important functionality (like the capability to drag symbols)libpanel
(`libgdl potential replacement) is so poorly documented as to make it unfit even for investigation.GTK4 migration may happen at some stage ...
Beta Was this translation helpful? Give feedback.
All reactions