emacs launching in GNOME is all messed up
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
GNU Emacs |
New
|
Unknown
|
|||
emacs (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned | ||
gnome-shell (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
With the most recent Lunar updates, which I believe include both an Emacs update and a GNOME update, I have encountered multiple annoying / bizarre problems with launching Emacs in GNOME. In particular:
1) Sometimes Emacs launches as a tiny window rather than a window of the correct size.
2) Sometimes it gets into a state where when I click on the icon in the dock instead of bringing the open Emacs window to the front it launches a new Emacs every time I click.
3) Sometimes it fails to show up in the dock at all when I launch it.
ProblemType: Bug
DistroRelease: Ubuntu 23.04
Package: emacs 1:28.2+1-10ubuntu1
ProcVersionSign
Uname: Linux 6.1.0-16-generic x86_64
ApportVersion: 2.26.0-0ubuntu2
Architecture: amd64
CasperMD5CheckR
CurrentDesktop: ubuntu:GNOME
Date: Fri Mar 10 16:13:14 2023
InstallationDate: Installed on 2019-08-16 (1302 days ago)
InstallationMedia: Ubuntu 19.04 "Disco Dingo" - Release amd64 (20190416)
PackageArchitec
SourcePackage: emacs
UpgradeStatus: Upgraded to lunar on 2022-11-24 (106 days ago)
Changed in emacs: | |
status: | Unknown → New |
A bit more about this...
There are two Emacs launchers available, "Emacs (GUI)" and "Emacs (Client)". If I pin "Emacs (GUI)" to my favorites and then launch it, I end up with two Emacs icons in my dock, one pinned and one unpinned which is "Emacs (Client)". Every time I click on the "Emacs (GUI)" launcher I get a new window. Clicking on "Emacs (Client)" brings all the windows to the front.
I don't want to pin "Emacs (Client)" to my favorites because if I do that and then try to kill and restart the emacsclient server inside Emacs, it kills the Emacs window. I need to be able to kill and restart the emacsclient server inside Emacs because sometimes I access my computer from the desktop and launch emacs there for editing with emacsclient and other times I access my computer remotely and launch emacs there for editing with emacsclient.