Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Multiple monitors issue with Fedora 31 #1745

Closed
ptrnull opened this issue Apr 8, 2020 · 5 comments
Closed

Multiple monitors issue with Fedora 31 #1745

ptrnull opened this issue Apr 8, 2020 · 5 comments

Comments

@ptrnull
Copy link

ptrnull commented Apr 8, 2020

I have tested latest fedora guake rpm and compiled from sources. The issue is that when having an external monitor connected to a laptop, guake only shows in the laptop screen (secondary display).

Describe the bug

When having an external monitor connected to a laptop, guake only shows in the laptop screen. Even if I change the settings and force it to appear in display 0 or 1. It doesn't make any difference.

Expected behavior

Same behavior like always, guake window appear where mouse display is if that option is selected in the settings.

Actual behavior

Guake always appear in laptop screen (secondary display)

To Reproduce

Fedora Core 31 updated to latest version.


$ guake --support

Guake Version: 3.6.3

Vte Version: 0.58.3

Vte Runtime Version: 0.58.3


GTK+ Version: 3.24.13

GDK Backend: GdkX11.X11Display


Desktop Session: gnome-xorg


Display: :0

RGBA visual: True

Composited: True

  • Monitor: 0 - DEL HDMI-2
    • Geometry: 1920 x 1080 at 1920, 0
    • Size: 527 x 296 mm²
    • Primary: True
    • Refresh rate: 60.00 Hz
    • Subpixel layout: unknown
  • Monitor: 1 - BOE eDP-1
    • Geometry: 1920 x 1080 at 0, 0
    • Size: 309 x 173 mm²
    • Primary: False
    • Refresh rate: 60.01 Hz
    • Subpixel layout: unknown
@dniku
Copy link

dniku commented Apr 10, 2020

I also have this issue with Guake 3.6.3 (3.7.0 crashes on startup due to #1739 / #1740) on Manjaro. Here is guake --verbose, in which I toggle the main window once:

Logging configuration complete
Guake not running, starting it
Wanted GTK theme: 'Adapta-Nokto-Maia'
Prefer dark theme: False
Patching theme 'Adapta-Nokto-Maia' (prefer dark = ''no''), overriding tab 'checked' state': foreground: '#ffffff', background: '#16a085'
Guake Terminal 3.6.3
VTE 0.60.1
Gtk 3.24.17
created fresh notebook for workspace 0
Spawning new terminal at /home/ser
Spawn command: "/usr/bin/fish"
current workspace is 0
reload_global: '<Primary>grave'
can't bind show-focus key
set_final_window_rect
  height_percents = 93
  width_percents = 100
  halignment = 0
  valignment = 0
  hdisplacement = 0
  vdisplacement = 0
Current monitor geometry
  window_rect.x: 0
  window_rect.y: 0
  window_rect.height: 2160
  window_rect.width: 3840
aligning to center!
RESIZING MAIN WINDOW TO THE FOLLOWING VALUES:
  window_rect.x: 0
  window_rect.y: 0
  window_rect.height: 2008
  window_rect.width: 3840
Updated window position: (root_x=0, root_y=0)
set_final_window_rect
  height_percents = 93
  width_percents = 100
  halignment = 0
  valignment = 0
  hdisplacement = 0
  vdisplacement = 0
Current monitor geometry
  window_rect.x: 0
  window_rect.y: 0
  window_rect.height: 2160
  window_rect.width: 3840
aligning to center!
RESIZING MAIN WINDOW TO THE FOLLOWING VALUES:
  window_rect.x: 0
  window_rect.y: 0
  window_rect.height: 2008
  window_rect.width: 3840
Updated window position: (root_x=0, root_y=0)
Spawning new terminal at /home/ser
Spawn command: "/usr/bin/fish"
set_final_window_rect
  height_percents = 93
  width_percents = 100
  halignment = 0
  valignment = 0
  hdisplacement = 0
  vdisplacement = 0
Current monitor geometry
  window_rect.x: 0
  window_rect.y: 0
  window_rect.height: 2160
  window_rect.width: 3840
aligning to center!
RESIZING MAIN WINDOW TO THE FOLLOWING VALUES:
  window_rect.x: 0
  window_rect.y: 0
  window_rect.height: 2008
  window_rect.width: 3840
Updated window position: (root_x=0, root_y=0)
set_final_window_rect
  height_percents = 93
  width_percents = 100
  halignment = 0
  valignment = 0
  hdisplacement = 0
  vdisplacement = 0
Current monitor geometry
  window_rect.x: 0
  window_rect.y: 0
  window_rect.height: 2160
  window_rect.width: 3840
aligning to center!
RESIZING MAIN WINDOW TO THE FOLLOWING VALUES:
  window_rect.x: 0
  window_rect.y: 0
  window_rect.height: 2008
  window_rect.width: 3840
Updated window position: (root_x=0, root_y=0)
Deleting page index 0
found running pid: 620393
mom, I've been called: remove_page <function TerminalNotebook.remove_page at 0x7f6882459dc0>
Guake tabs restored from /home/ser/.config/guake/session.json
Guake initialized
Running main gtk loop
mom, I've been called: on_terminal_title_changed <function Guake.on_terminal_title_changed at 0x7f6882468550>
Guake tabs saved to /home/ser/.config/guake/session.json
Show_hide called

================================================================================
Window display
gtk.gdk.WindowState = 0
GDK_WINDOW_STATE_STICKY? False
GDK_WINDOW_STATE_WITHDRAWN? False
GDK_WINDOW_STATE_ABOVE? False
GDK_WINDOW_STATE_ICONIFIED? False
Showing the terminal
set_final_window_rect
  height_percents = 93
  width_percents = 100
  halignment = 0
  valignment = 0
  hdisplacement = 0
  vdisplacement = 0
Current monitor geometry
  window_rect.x: 0
  window_rect.y: 0
  window_rect.height: 2160
  window_rect.width: 3840
aligning to center!
RESIZING MAIN WINDOW TO THE FOLLOWING VALUES:
  window_rect.x: 0
  window_rect.y: 0
  window_rect.height: 2008
  window_rect.width: 3840
Updated window position: (root_x=0, root_y=0)
Moving window to: <Gdk.Rectangle object at 0x7f6882ac5b80 (GdkRectangle at 0x55d995a32d30)>
set_final_window_rect
  height_percents = 93
  width_percents = 100
  halignment = 0
  valignment = 0
  hdisplacement = 0
  vdisplacement = 0
Current monitor geometry
  window_rect.x: 0
  window_rect.y: 0
  window_rect.height: 2160
  window_rect.width: 3840
aligning to center!
RESIZING MAIN WINDOW TO THE FOLLOWING VALUES:
  window_rect.x: 0
  window_rect.y: 0
  window_rect.height: 2008
  window_rect.width: 3840
Updated window position: (root_x=0, root_y=0)
order to present and deiconify
Current window position: (root_x=0, root_y=0)
Received window state event: <flags GDK_WINDOW_STATE_STICKY | GDK_WINDOW_STATE_ABOVE | GDK_WINDOW_STATE_FOCUSED of type Gdk.WindowState>
Received window state event: <flags GDK_WINDOW_STATE_STICKY | GDK_WINDOW_STATE_ABOVE | GDK_WINDOW_STATE_FOCUSED | GDK_WINDOW_STATE_TOP_RESIZABLE | GDK_WINDOW_STATE_RIGHT_RESIZABLE | GDK_WINDOW_STATE_BOTTOM_RESIZABLE | GDK_WINDOW_STATE_LEFT_RESIZABLE of type Gdk.WindowState>
Received window state event: <flags GDK_WINDOW_STATE_STICKY | GDK_WINDOW_STATE_ABOVE | GDK_WINDOW_STATE_TOP_RESIZABLE | GDK_WINDOW_STATE_RIGHT_RESIZABLE | GDK_WINDOW_STATE_BOTTOM_RESIZABLE | GDK_WINDOW_STATE_LEFT_RESIZABLE of type Gdk.WindowState>
Received window state event: <flags GDK_WINDOW_STATE_STICKY | GDK_WINDOW_STATE_ABOVE | GDK_WINDOW_STATE_FOCUSED | GDK_WINDOW_STATE_TOP_RESIZABLE | GDK_WINDOW_STATE_RIGHT_RESIZABLE | GDK_WINDOW_STATE_BOTTOM_RESIZABLE | GDK_WINDOW_STATE_LEFT_RESIZABLE of type Gdk.WindowState>
Show_hide called

================================================================================
Window display
gtk.gdk.WindowState = 0
GDK_WINDOW_STATE_STICKY? False
GDK_WINDOW_STATE_WITHDRAWN? False
GDK_WINDOW_STATE_ABOVE? False
GDK_WINDOW_STATE_ICONIFIED? False
Hiding the terminal
Received window state event: <flags GDK_WINDOW_STATE_WITHDRAWN | GDK_WINDOW_STATE_STICKY | GDK_WINDOW_STATE_ABOVE | GDK_WINDOW_STATE_FOCUSED | GDK_WINDOW_STATE_TOP_RESIZABLE | GDK_WINDOW_STATE_RIGHT_RESIZABLE | GDK_WINDOW_STATE_BOTTOM_RESIZABLE | GDK_WINDOW_STATE_LEFT_RESIZABLE of type Gdk.WindowState>
Received window state event: <flags GDK_WINDOW_STATE_WITHDRAWN | GDK_WINDOW_STATE_ABOVE | GDK_WINDOW_STATE_FOCUSED | GDK_WINDOW_STATE_TOP_RESIZABLE | GDK_WINDOW_STATE_RIGHT_RESIZABLE | GDK_WINDOW_STATE_BOTTOM_RESIZABLE | GDK_WINDOW_STATE_LEFT_RESIZABLE of type Gdk.WindowState>
Received window state event: <flags GDK_WINDOW_STATE_WITHDRAWN | GDK_WINDOW_STATE_ABOVE | GDK_WINDOW_STATE_TOP_RESIZABLE | GDK_WINDOW_STATE_RIGHT_RESIZABLE | GDK_WINDOW_STATE_BOTTOM_RESIZABLE | GDK_WINDOW_STATE_LEFT_RESIZABLE of type Gdk.WindowState>
found running pid: 620518
Remaining procs=0
Quitting Guake

Monitors are arranged as follows:

image

In the following, the laptop screen is SHP eDP-1 and the external monitor is GSM DP-1:

$ guake --support Guake Version: 3.6.3

Vte Version: 0.60.1

Vte Runtime Version: 0.60.1


GTK+ Version: 3.24.17

GDK Backend: GdkX11.X11Display


Desktop Session: gnome-xorg


Display: :1

RGBA visual: True

Composited: True

  • Monitor: 0 - GSM DP-1
    • Geometry: 3840 x 2160 at 0, 0
    • Size: 600 x 340 mm²
    • Primary: True
    • Refresh rate: 60.00 Hz
    • Subpixel layout: unknown
  • Monitor: 1 - SHP eDP-1
    • Geometry: 3840 x 2160 at 0, 2160
    • Size: 346 x 194 mm²
    • Primary: False
    • Refresh rate: 60.00 Hz
    • Subpixel layout: unknown

@Davidy22
Copy link
Collaborator

A patch that may fix this has just been merged. Can you confirm whether or not this is fixed in the current git main? If you can't compile, updates when the next version is released are also welcome.

@ptrnull
Copy link
Author

ptrnull commented Sep 13, 2021

A patch that may fix this has just been merged. Can you confirm whether or not this is fixed in the current git main? If you can't compile, updates when the next version is released are also welcome.

Still not working, while having the cursor in an external screen guake still shows in the laptop screen.

uake not running, starting it
Loading Gnome schema from: /usr/local/share/glib-2.0/schemas
Language previously loaded from: /usr/local/share/locale
Guake Terminal 3.7.1.dev110
VTE 0.64.2
Gtk 3.24.30
created fresh notebook for workspace 0
Spawning new terminal at /home/ptr

(guake:1413992): VTE-WARNING **: 09:07:33.516: (../src/vtepty.cc:666):bool _vte_pty_spawn_sync(VtePty*, const char*, const char* const*, const char* const*, GSpawnFlags, GSpawnChildSetupFunc, gpointer, GDestroyNotify, GPid*, int, GCancellable*, GError**): runtime check failed: ((spawn_flags & ignored_spawn_flags()) == 0)
current workspace is 0
can't bind show-focus key
Spawning new terminal at /home/ptr

(guake:1413992): VTE-WARNING **: 09:07:33.614: (../src/vtepty.cc:666):bool _vte_pty_spawn_sync(VtePty*, const char*, const char* const*, const char* const*, GSpawnFlags, GSpawnChildSetupFunc, gpointer, GDestroyNotify, GPid*, int, GCancellable*, GError**): runtime check failed: ((spawn_flags & ignored_spawn_flags()) == 0)
Spawning new terminal at /home/ptr

(guake:1413992): VTE-WARNING **: 09:07:33.633: (../src/vtepty.cc:666):bool _vte_pty_spawn_sync(VtePty*, const char*, const char* const*, const char* const*, GSpawnFlags, GSpawnChildSetupFunc, gpointer, GDestroyNotify, GPid*, int, GCancellable*, GError**): runtime check failed: ((spawn_flags & ignored_spawn_flags()) == 0)
Guake tabs restored from /home/ptr/.config/guake/session.json
Guake initialized
Showing the terminal
Hiding the terminal
Showing the terminal
Hiding the terminal
Showing the terminal
Hiding the terminal
Showing the terminal
Hiding the terminal
Showing the terminal
Hiding the terminal
Showing the terminal
Hiding the terminal

Compiled the master branch:

guake --version
Guake Terminal: 3.7.1.dev110
VTE: 0.64.2
VTE runtime: 0.64.2
Gtk: 3.24.30

@zeusintuivo
Copy link

This should be closed too. It works on 3.8 now. I can confirm
@Davidy22

@Davidy22
Copy link
Collaborator

Closing since apparently fixed in latest guake

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants