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,475
    • Issues 1,475
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 246
    • Merge requests 246
  • 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
  • Merge requests
  • !4768

main: add GTK_DEBUG_TEXT_DIR environment variable

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Christian Hergert requested to merge wip/chergert/GTK_DEBUG_TEXT_DIR into main May 27, 2022
  • Overview 4
  • Commits 1
  • Pipelines 2
  • Changes 2

From Builder, we need a way to start a program with a given text direction so that we can simplify the process for developers to test GTK applications with settings different than their native locale.

This adds a "GTK_DEBUG_TEXT_DIR" environment variable which may be set to either rtl or ltr. DEBUG is used in the name to make it clear that this environment variable is meant for that case only, not as API which can be relied on for workarounds.

Related to gnome-builder#935

If this is desirable, it would be nice to backport it to GTK 3 as well since Builder still supports creating and running "legacy" GTK 3 applications.

Assignee
Assign to
Reviewer
Request review from
Time tracking
Source branch: wip/chergert/GTK_DEBUG_TEXT_DIR