[Wayland-bugs] [Bug 770742] New: Add 'need feature' API for marking important backend features as needed

gtk+ (GNOME Bugzilla) bugzilla at gnome.org
Fri Sep 2 09:00:02 UTC 2016


https://bugzilla.gnome.org/show_bug.cgi?id=770742

            Bug ID: 770742
           Summary: Add 'need feature' API for marking important backend
                    features as needed
    Classification: Platform
           Product: gtk+
           Version: unspecified
                OS: All
            Status: NEW
          Severity: normal
          Priority: Normal
         Component: Backend: Wayland
          Assignee: gtk-bugs at gtk.org
          Reporter: jadahl at gmail.com
        QA Contact: gtk-bugs at gtk.org
                CC: rob at robster.org.uk, wayland-bugs at lists.freedesktop.org
     GNOME version: ---

The idea behind this API is to make it possible for GTK+ or applications to
mark some features it "needs" as extra important, so that GDK can fall back on
X11 if there are no compatible protocol versions available via Wayland.

For example a drawing application that uses tablets built using GTK+ 3.22,
using the unstable tablet protocol, running on a future compositor with only
the future stable (thus incompatible with the current tablet protocol) should
fall back on X11, so that it has a higher chance of functioning properly.

Honenstly, I'm not very fond of the API, or the concept in general, but
uploading it here anyway (with an example usage that makes GDK fall back on X11
if there is no compatible xdg-foreign protocol available).

A more robust solution, although a pity, would be for the GNOME 3.22 Flatpak
runtime to ship a GTK+ 3.22 that defaults to using the X11 backend, and wait
until hopefully the GNOME 3.24 Flatpak runtime to default to Wayland.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/wayland-bugs/attachments/20160902/578edc86/attachment.html>


More information about the wayland-bugs mailing list