emacs-eaf / emacs-application-framework

EAF, an extensible framework that revolutionizes the graphical capabilities of Emacs
GNU General Public License v3.0
3.1k stars 235 forks source link

Problem with emacs-wayland or emacs-pgkt build enabled with pure-gtk support #1148

Open osvarcha opened 7 months ago

osvarcha commented 7 months ago

Hello EAF maintainers, first of all I want to thank you for the great project of increasing the possibilities of emacs and its incredible extensions.

The problem I want to report is about the problems that arise when running EAF as well as PopWeb sister project as soon as pgtk is enabled in the build adding a new rendering engine to Emacs replacing the legacy X11 implementation by using only the GTK API , which brings native wayland support to Emacs.

Well, installing these packages as in the case of ArchLinux emacs-wayland , EAF does not render both the PDF reader and the Browser in the buffer, in the case of PopWeb it does manage to display a flashing image and it constantly crashes, sometimes throwing the following message in minibuffer: dbus-call-method: D-Bus error: "org.freedesktop.DBus.Error.UnknownMethod"

Maybe I'm not very technical about the problem, this is solved in a trivial way like installing emacs or emacs-nativcomp emacs programs without enabling pgtk in the build.

But perhaps it is good to inform you because it is already known that support for x11 will not last long and Wayland is the Present and future, capable of the new emacs packages coming with pgtk enabled by default.

Greetings and hugs to all of you, I hope to see you contributed something.

manateelazycat commented 7 months ago

Wayland don't let developer use tech like XReparent, and EAF depend smiliar tech.

MatthewZMD commented 7 months ago

We had discussions in 2022 regarding pgtk #449

thyeun commented 2 weeks ago

Sorry i'm new to this, but some how i make it run under emacs-wayland, but an example issue that i facing now is, if i tryeaf-open-browser, it will always open outside of emacs.

It that related with this?

Will it possible to configure it like (minibuffer, only) for emacs-wayland?

dingtele commented 1 week ago

hello @manateelazycat ! thanks for your work i have tried with installing the gnome-shell extension you provid but it is disabled on the menu saying that it is incompatible with my gnome version 46.6, could that .js file be improved somewhere? 🤔