[Bug 1817924] Re: (In Xorg sessions only) apps launched from gnome shell do not get input focus
I encounter this bug in 23.04. On Files, right-click > Open in Terminal. First time, Terminal is in focus. Second time, Terminal is not in focus. I often open multiple terminal windows via Files, so this step is very noticeable for me. I've had this since 22.04, 22.10 and now 23.04. I'm running X11, Gnome 44.3. -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to mutter in Ubuntu. https://bugs.launchpad.net/bugs/1817924 Title: (In Xorg sessions only) apps launched from gnome shell do not get input focus To manage notifications about this bug go to: https://bugs.launchpad.net/mutter/+bug/1817924/+subscriptions -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 2077215] [NEW] Nautilus: focus lost when entering a directory with a single file/directory inside it
Public bug reported: When trying to navigate using the arrow keys, if you enter a directory with a single file inside, focus is lost and you can no longer use the arrow keys to select the contents of the directory. For example, consider a directory structure: ~/directory/file. If you were to access `directory` from home, you would no longer be able to use the arrow keys to select `file`. Similarly if `file` were another directory. I'm using Desktop Ubuntu 24.04 installed using the desktop Ubuntu ISO. ProblemType: Bug DistroRelease: Ubuntu 24.04 Package: nautilus 1:46.2-0ubuntu0.2 ProcVersionSignature: Ubuntu 6.8.0-40.40-generic 6.8.12 Uname: Linux 6.8.0-40-generic x86_64 ApportVersion: 2.28.1-0ubuntu3.1 Architecture: amd64 CasperMD5CheckResult: pass CurrentDesktop: ubuntu:GNOME Date: Sat Aug 17 06:18:48 2024 GsettingsChanges: b'org.gnome.nautilus.preferences' b'default-folder-viewer' b"'list-view'" b'org.gnome.nautilus.preferences' b'migrated-gtk-settings' b'true' b'org.gnome.nautilus.window-state' b'initial-size' b'(1247, 550)' InstallationDate: Installed on 2024-08-13 (4 days ago) InstallationMedia: Ubuntu 24.04 LTS "Noble Numbat" - Release amd64 (20240424) ProcEnviron: LANG=en_US.UTF-8 PATH=(custom, no user) SHELL=/bin/bash TERM=xterm-256color XDG_RUNTIME_DIR= SourcePackage: nautilus UpgradeStatus: No upgrade log present (probably fresh install) usr_lib_nautilus: file-roller 44.1-1 nautilus-extension-gnome-terminal 3.52.0-1ubuntu2 ** Affects: nautilus (Ubuntu) Importance: Undecided Status: New ** Tags: amd64 apport-bug noble -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to nautilus in Ubuntu. https://bugs.launchpad.net/bugs/2077215 Title: Nautilus: focus lost when entering a directory with a single file/directory inside it To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/nautilus/+bug/2077215/+subscriptions -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 2064977] Re: new gnome-terminal instances launched from nautilus fail to receive automatic focus
Same issue. If you "Open in Terminal" without typing anything, the new terminal always gains focus. But the moment you type anything on one of the terminals, subsequent terminals do not gain focus. Instead, you get a notification at the top saying the terminal "is ready". In fact, this issue has been around for ages now. Here's one ignored from 23.04, which documents it being around since 22.10 at least: https://bugs.launchpad.net/ubuntu/+source/nautilus/+bug/2016182 It could be an issue with gnome, however Nemo does not exhibit this behaviour and always opens the terminal in focus, so I suspect it's an issue with Nautilus. One perhaps overkill method is to completely disable Gnome opening stuff in background with `gnome-shell-extension-no-annoyance` (https://extensions.gnome.org/extension/1236/noannoyance/), however 24.04 appears to not be able to enable gnome shell extensions: https://askubuntu.com/questions/1522939/not-possible-to-enable-gnome-shell-extensions-in-ubuntu-24-04 A workaround I used since 21.04 is to run a devilspie2 script that grabs focus of the terminal whenever one is opened. ``` if ( get_application_name() == 'Terminal' and get_window_name() == 'Terminal' ) then focus_window(); end ``` Don't blindly use it tho. Every terminal opened will have focus. It didn't matter to me, but it may affect you in unexpected ways. It's also unnecessary as you are adding automation for something that you can stop using. Most people would just switch to Nemo. Of the alternatives I've tested, the ones that didn't work on 24.04 were: - Dolphin: open in terminal does nothing - Thunar: returns `failed to launch preferred application for category TerminalEmulator` - PCManFM: opens in background, just like Nautilus -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to mutter in Ubuntu. https://bugs.launchpad.net/bugs/2064977 Title: new gnome-terminal instances launched from nautilus fail to receive automatic focus To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/mutter/+bug/2064977/+subscriptions -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs