Skip to content
GitLab
  • Menu
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • gtk gtk
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 1,497
    • Issues 1,497
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 248
    • Merge requests 248
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages & Registries
    • Packages & 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
  • GNOME
  • gtkgtk
  • Issues
  • #1741
Closed
Open
Created Mar 12, 2019 by Pekka Paalanen@ppaalanen

GTK application launched in Xorg session connects to a Wayland server instead

Steps to reproduce

  1. Run any Xorg-based session (I used fluxbox, but GNOME should do)
  2. Start gtk3-demo
  3. Quit the gtk3-demo
  4. Open Weston (nested, in a window)
  5. While Weston is running, start gtk3-demo in the Xorg session again.

Current behavior

gtk3-demo from step 2 appears in Xorg.

gtk3-demo from step 5 appears in Weston.

Expected outcome

gtk3-demo from step 5 should appear the same way as in step 2, in Xorg, not in Weston.

Version information

GTK 3.24.5-1, Debian Buster

Additional information

This is essentially a rerun of #1224, but this time only describing the problem, not proposing (false) solutions.

The general question here is, how should applications figure out how to connect to a display server?

What should display servers do, if anything, to facilitate it?

The purpose of this issue is to find out a preferred common way for all toolkits, GTK included, to figure this out correctly. It does not matter if it works with Fluxbox or Weston as is, as long as there is an agreed design on how it could be made to work.

This is filed as a GTK issue, because apparently GTK is the odd toolkit out in this respect, or at least others seem to have agreed to a solution that GTK developers have refused - a solution that I hear even gnome-shell has opted to support.

Assignee
Assign to
Time tracking