Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • xserver xserver
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 887
    • Issues 887
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 105
    • Merge requests 105
  • 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
  • xorg
  • xserverxserver
  • Issues
  • #749
Closed
Open
Created May 23, 2019 by Bugzilla Migration User@bugzilla-migration

windows go off screen after disconnection/reconnection of an external screen.

Submitted by Pascal Bourguignon

Assigned to Jeremy Huddleston Sequoia

Link to original bug (#96654)

Description

On a MacBook Pro laptop (but I guess it could occur on a desk iMac with an external screen too), with an external screen arranged above the main screen.

  • Launch Xquartz
  • open the about dialog (move it to the external screen).
  • create a xterm window (it opens on the main screen).
  • create another xterm window, move it to the external screen.
  • unplug the external screen. --> the two xterm windows are moved to the main screen, as expected.
  • plug again the external screen. --> the two xterm windows disappear, which is bad! They are still listed in the window menu, but selecting them don't make them re-appear.

Apparently, they move offscreen; Once, with an emacs window, I could type blindly and evaluate set-frame-position expression to move it back on screen.

The about dialog moves correctly to the main screen and back to its original position on the external screen.

[pjb@macbook-trustonic :0.0 ~]$ xwinlist 0xc0000d "xterm": ("xterm" "XTerm") 1138x927+0+22 +165+22 # newly created 0x80000d "xterm": ("xterm" "XTerm") 484x316+0+22 +94+1102 # disappeared window 0xa0000d "xterm": ("xterm" "XTerm") 484x316+0+22 +0+22 # disappeared window

[pjb@macbook-trustonic :0.0 ~]$ xwininfo -root

xwininfo: Window id: 0x111 (the root window) (has no name)

Absolute upper-left X: 0 Absolute upper-left Y: 0 Relative upper-left X: 0 Relative upper-left Y: 0 Width: 1920 Height: 2108 Depth: 24 Visual: 0x22 Visual Class: TrueColor Border width: 0 Class: InputOutput Colormap: 0x21 (installed) Bit Gravity State: ForgetGravity Window Gravity State: NorthWestGravity Backing Store State: NotUseful Save Under State: no Map State: IsViewable Override Redirect State: no Corners: +0+0 -0+0 -0-0 +0-0 -geometry 1920x2108+0+0

[pjb@macbook-trustonic :0.0 ~]$ xwininfo -id 0x80000d

xwininfo: Window id: 0x80000d "xterm"

Absolute upper-left X: 94 Absolute upper-left Y: 1102 Relative upper-left X: 0 Relative upper-left Y: 22 Width: 484 Height: 316 Depth: 24 Visual: 0x22 Visual Class: TrueColor Border width: 0 Class: InputOutput Colormap: 0x21 (installed) Bit Gravity State: NorthWestGravity Window Gravity State: NorthWestGravity Backing Store State: NotUseful Save Under State: no Map State: IsViewable Override Redirect State: no Corners: +94+1102 -1342+1102 -1342-690 +94-690 -geometry 80x24+94+1080

[pjb@macbook-trustonic :0.0 ~]$ xwininfo -id 0x80000d

xwininfo: Window id: 0x80000d "xterm"

Absolute upper-left X: 94 Absolute upper-left Y: 1102 Relative upper-left X: 0 Relative upper-left Y: 22 Width: 484 Height: 316 Depth: 24 Visual: 0x22 Visual Class: TrueColor Border width: 0 Class: InputOutput Colormap: 0x21 (installed) Bit Gravity State: NorthWestGravity Window Gravity State: NorthWestGravity Backing Store State: NotUseful Save Under State: no Map State: IsViewable Override Redirect State: no Corners: +94+1102 -1342+1102 -1342-690 +94-690 -geometry 80x24+94+1080

[pjb@macbook-trustonic :0.0 ~]$ xwininfo -id 0xa0000d

xwininfo: Window id: 0xa0000d "xterm"

Absolute upper-left X: 0 Absolute upper-left Y: 22 Relative upper-left X: 0 Relative upper-left Y: 22 Width: 484 Height: 316 Depth: 24 Visual: 0x22 Visual Class: TrueColor Border width: 0 Class: InputOutput Colormap: 0x21 (installed) Bit Gravity State: NorthWestGravity Window Gravity State: NorthWestGravity Backing Store State: NotUseful Save Under State: no Map State: IsViewable Override Redirect State: no Corners: +0+22 -1436+22 -1436-1770 +0-1770 -geometry 80x24+0+0

Version: 2.7.9 (xserver-1.17.4)

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