Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • V vte
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 341
    • Issues 341
    • List
    • Boards
    • Service Desk
    • Milestones
  • Deployments
    • Deployments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • Repository
  • Wiki
    • Wiki
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • GNOMEGNOME
  • vte
  • Issues
  • #128
Closed
Open
Issue created May 25, 2019 by Martin Hostettler@textshell

Wraparound in result of CSI 13t (aka Report Terminal Window Position)

When running echo -ne '\033[13t'; read -r a in a gnome terminal in the top-left corner of a gnome-shell session i get strangely wrapped results.

For example ^[[3;65511;5t.

Environment: fedora, vte 0.56.3, gnome-terminal version 3.32.2

Steps to reproduce:

  • Start gnome-terminal.
  • Position the terminal to the left-top corner of the workspace using the edge snapping of gnome-shell. Don't maximize the window.
  • run echo -ne '\033[13t'; read -r a

Actual result:

  • ^[[3;65511;5t

Expected result:

  • a small value or zero as x coordinate.

Additionally using xwininfo on the window reports negative "Absolute upper-left X: -26".

In discussing this on irc @chpe suspected the window shadow to be cause for this.

image

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking