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

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

Open
osvarcha opened this issue Apr 2, 2024 · 4 comments

Comments

@osvarcha
Copy link

osvarcha commented Apr 2, 2024

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
Copy link
Member

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

@MatthewZMD
Copy link
Member

We had discussions in 2022 regarding pgtk #449

@thyeun
Copy link

thyeun commented Nov 11, 2024

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
Copy link

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? 🤔

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

No branches or pull requests

5 participants