Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Register
  • Sign in
  • gtk gtk
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 1,557
    • Issues 1,557
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 219
    • Merge requests 219
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • GNOMEGNOME
  • gtkgtk
  • Merge requests
  • !272

Replace gtk_text_input with text_input_unstable_v3 support

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged dcz requested to merge dcz/gtk:wl_text_input_clean into gtk-3-24 Jul 26, 2018
  • Overview 3
  • Commits 1
  • Pipelines 4
  • Changes 7

This is a continuation of !112 (closed), since GTK-3 moved on.

The protocol is being implemented in wlroots, with a WIP branch available at https://source.puri.sm/Librem5/wlroots/commits/text_input_rebase .

The protocol in use was posted as patch v7 of text-input-unstable on wayland-devel.

Building:

  1. Check out GTK
  2. Check out the WIP wlroots branch
  3. Build GTK immodule:
./configure --enable-wayland-backend --enable-debug=yes --prefix=`pwd`/../gtk-install
make
make install
  1. Build wlroots:
meson . ../wlroots-build -Denable_xwayland=false
  1. Try it out with GTK3:
./wlroots-build/rootston/rootston
./wlroots-build/examples/input-method 1
WAYLAND_DEBUG=1 GDK_BACKEND=wayland GTK_IM_MODULE=wayland GTK_IM_MODULE_FILE=./gtk-install/lib/gtk-3.0/3.0.0/immodules.cache yad --entry

The input-method application should display data coming from yad, while yad should display a couple of testing patterns.

Edited Jul 30, 2018 by dcz
Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: wl_text_input_clean