masm11 / emacs

Mirror of GNU Emacs
http://www.gnu.org/software/emacs/
GNU General Public License v3.0
198 stars 14 forks source link

Childframes offset incorrectly #46

Closed rushsteve1 closed 3 years ago

rushsteve1 commented 4 years ago

Childframes, like those created by company-box are offset incorrectly, so far to the left that they are off the Emacs window. image

The childframes appear to be offset based on the global amount, instead of relative to the Emacs window.

OpenSUSE Tumbleweed X11, KDE 5.19.4 GNU Emacs 28.0.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.21, cairo version 1.16.0) Doom Emacs commit a8b7c00426edd76ba7f5269403fcdf8eb2c56a30 Company-Box commit 20384f0e382c063173b9d863344b1b23bc1e4954

fejfighter commented 4 years ago

@rushsteve1 is this "pure" X11 or xwayland on wayland? I have had mixed results with the latter but previous testing was fine for X only

flatwhatson commented 4 years ago

I am seeing the same with Plasma on xorg (not xwayland).

ArchLinux plasma-desktop 5.19.4-1

A6GibKm commented 4 years ago

Can't reproduce in GNOME.

Edit: Can't reproduce in sway either.

fejfighter commented 4 years ago

Can't reproduce in GNOME.

Edit: Can't reproduce in sway either.

Sounds like it's an X v Wayland issue, I think GTK will return different info based on the backend

fejfighter commented 4 years ago

Ok Can confirm on X.org Gnome, I'll have a dig

fejfighter commented 4 years ago

@rushsteve1 @flatwhatson

try #47 or latest #23

flatwhatson commented 4 years ago

That's working properly for me, thanks! :heart:

masm11 commented 3 years ago

fixed by #51.