sgt-pattern draws in wrong window

Bug #1885411 reported by whitis on 2020-06-28
This bug affects 1 person
Affects Status Importance Assigned to Milestone
sgt-launcher (Ubuntu)

Bug Description

One of the two windows is blank and then it draws what it probably intended to draw in that window over the main window.

- sgt-launcher
- Pick pattern
- select a 10x10
- resize window larger (testing for legally blind user)
- play game
- upon completion, it draws the completed puzzle on top of the working puzzle instead of in the other window.

See attached screenshot

lsb_release -a; uname -a; dpkg -l sgt-puzzles; ldd /usr/games/sgt-pattern
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 18.04.4 LTS
Release: 18.04
Codename: bionic
Linux cervantes 5.3.0-53-generic #47~18.04.1-Ubuntu SMP Thu May 7 13:10:50 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version Architecture Description
ii sgt-puzzles 20170606.272 amd64 Simon Tatham's Portable Puzzle Co (0x00007fc1e6124000) => /usr/lib/x86_64-linux-gnu/ (0x00007fc1e53ce000) => /usr/lib/x86_64-linux-gnu/ (0x00007fc1e50d8000) => /usr/lib/x86_64-linux-gnu/ (0x00007fc1e4ecb000) => /usr/lib/x86_64-linux-gnu/ (0x00007fc1e4c7e000) => /usr/lib/x86_64-linux-gnu/ (0x00007fc1e4961000) => /usr/lib/x86_64-linux-gnu/ (0x00007fc1e473d000) => /usr/lib/x86_64-linux-gnu/ (0x00007fc1e44e9000) => /usr/lib/x86_64-linux-gnu/ (0x00007fc1e41d2000) => /lib/x86_64-linux-gnu/ (0x00007fc1e3e34000) => /lib/x86_64-linux-gnu/ (0x00007fc1e3c15000) => /lib/x86_64-linux-gnu/ (0x00007fc1e3824000) => /usr/lib/x86_64-linux-gnu/ (0x00007fc1e3620000) => /usr/lib/x86_64-linux-gnu/ (0x00007fc1e32e8000) => /usr/lib/x86_64-linux-gnu/ (0x00007fc1e30d8000) => /usr/lib/x86_64-linux-gnu/ (0x00007fc1e2ed2000) => /usr/lib/x86_64-linux-gnu/ (0x00007fc1e2cc9000) => /usr/lib/x86_64-linux-gnu/ (0x00007fc1e2aa3000) => /usr/lib/x86_64-linux-gnu/ (0x00007fc1e2872000) => /usr/lib/x86_64-linux-gnu/ (0x00007fc1e2571000) => /usr/lib/x86_64-linux-gnu/ (0x00007fc1e235b000) => /usr/lib/x86_64-linux-gnu/ (0x00007fc1e2116000) => /usr/lib/x86_64-linux-gnu/ (0x00007fc1e1d77000) => /usr/lib/x86_64-linux-gnu/ (0x00007fc1e1b74000) => /usr/lib/x86_64-linux-gnu/ (0x00007fc1e1969000) => /usr/lib/x86_64-linux-gnu/ (0x00007fc1e175f000) => /usr/lib/x86_64-linux-gnu/ (0x00007fc1e155c000) => /usr/lib/x86_64-linux-gnu/ (0x00007fc1e1359000) => /usr/lib/x86_64-linux-gnu/ (0x00007fc1e111a000) => /usr/lib/x86_64-linux-gnu/ (0x00007fc1e0f12000) => /usr/lib/x86_64-linux-gnu/ (0x00007fc1e0d10000) => /usr/lib/x86_64-linux-gnu/ (0x00007fc1e0b01000) => /usr/lib/x86_64-linux-gnu/ (0x00007fc1e08ef000) => /lib/x86_64-linux-gnu/ (0x00007fc1e06e7000) => /usr/lib/x86_64-linux-gnu/ (0x00007fc1e0433000) => /usr/lib/x86_64-linux-gnu/ (0x00007fc1e022a000) => /usr/lib/x86_64-linux-gnu/ (0x00007fc1dff85000) => /usr/lib/x86_64-linux-gnu/ (0x00007fc1dfd53000) => /usr/lib/x86_64-linux-gnu/ (0x00007fc1dfb50000) => /usr/lib/x86_64-linux-gnu/ (0x00007fc1df928000) => /usr/lib/x86_64-linux-gnu/ (0x00007fc1df71b000) => /usr/lib/x86_64-linux-gnu/ (0x00007fc1df511000) => /lib/x86_64-linux-gnu/ (0x00007fc1df2f4000) => /usr/lib/x86_64-linux-gnu/ (0x00007fc1df0ec000) => /lib/x86_64-linux-gnu/ (0x00007fc1dee7a000)
 /lib64/ (0x00007fc1e5efe000) => /lib/x86_64-linux-gnu/ (0x00007fc1dec76000) => /lib/x86_64-linux-gnu/ (0x00007fc1dea29000) => /usr/lib/x86_64-linux-gnu/ (0x00007fc1de7f9000) => /usr/lib/x86_64-linux-gnu/ (0x00007fc1de55b000) => /lib/x86_64-linux-gnu/ (0x00007fc1de329000) => /lib/x86_64-linux-gnu/ (0x00007fc1de101000) => /lib/x86_64-linux-gnu/ (0x00007fc1ddee6000) => /lib/x86_64-linux-gnu/ (0x00007fc1ddc92000) => /usr/lib/x86_64-linux-gnu/ (0x00007fc1dda8b000) => /usr/lib/x86_64-linux-gnu/ (0x00007fc1dd887000) => /usr/lib/x86_64-linux-gnu/ (0x00007fc1dd681000) => /lib/x86_64-linux-gnu/ (0x00007fc1dd3fd000) => /usr/lib/x86_64-linux-gnu/ (0x00007fc1dd1d0000) => /lib/x86_64-linux-gnu/ (0x00007fc1dcf83000) => /lib/x86_64-linux-gnu/ (0x00007fc1dcd6e000) => /lib/x86_64-linux-gnu/ (0x00007fc1dcb48000) => /usr/lib/x86_64-linux-gnu/ (0x00007fc1dc92c000) => /lib/x86_64-linux-gnu/ (0x00007fc1dc610000) => /lib/x86_64-linux-gnu/ (0x00007fc1dc409000) => /lib/x86_64-linux-gnu/ (0x00007fc1dc1f4000)

ProblemType: Bug
DistroRelease: Ubuntu 18.04
ProcVersionSignature: Ubuntu 5.3.0-53.47~18.04.1-generic 5.3.18
Uname: Linux 5.3.0-53-generic x86_64
ApportVersion: 2.20.9-0ubuntu7.15
Architecture: amd64
CurrentDesktop: ubuntu:GNOME
Date: Sun Jun 28 02:59:40 2020
InstallationDate: Installed on 2019-05-02 (422 days ago)
InstallationMedia: Ubuntu 18.04.2 LTS "Bionic Beaver" - Release amd64 (20190210)
 PATH=(custom, no user)
SourcePackage: sgt-puzzles
UpgradeStatus: No upgrade log present (probably fresh install)

whitis (whitis) wrote :
whitis (whitis) wrote :

The black window can't be killed after you close program.

Not with the X
Not will killall sgt-pattern
Not with killall -9 sgt-pattern
Not with xkill and pointing to window
Not with dash "quit"

it can be minimized or maximized or resized

I was able to kill it by xkill -id 0x897257 but that also killed gnome-shell. Had to Ctrl-alt-del, cancel, switch to terminal window with tab key, "nohup gnome-shell --restart &"

Note that the small picture over the big picture also happens when you restart sgt-pattern after having resized the window and then select a "10x10" game from type menu, although that window will close.


xwininfo: Please select the window about which you
          would like information by clicking the
          mouse in that window

xwininfo: Window id: 0x897257 (has no name)

  Absolute upper-left X: 483
  Absolute upper-left Y: 197
  Relative upper-left X: 483
  Relative upper-left Y: 197
  Width: 548
  Height: 600
  Depth: 24
  Visual: 0x319
  Visual Class: TrueColor
  Border width: 0
  Class: InputOutput
  Colormap: 0x80000a (not 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: +483+197 -889+197 -889-283 +483-283
  -geometry 548x600+483+197

whitis (whitis) wrote :

Note problems affect other puzzles as well and sgt-launcher seems to be at fault. Apparently, its attempts to reparent the programs don't work on xwayland. sgt-launcher was already killed, though, when the zombie window wouldn't go away.

Ben Hutchings (benh-debian) wrote :

Seems to be caused by sgt-launcher, which is a separate package

affects: sgt-puzzles (Ubuntu) → sgt-launcher (Ubuntu)
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers