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

Unable to pull focus from lxqt-session --desktop (and xfdesktop) without mouse intervention #9326

Open
3 of 6 tasks
rharmonson opened this issue Feb 4, 2025 · 3 comments
Open
3 of 6 tasks
Labels
bug Something isn't working

Comments

@rharmonson
Copy link

rharmonson commented Feb 4, 2025

Already reported ? *

  • I have searched the existing open and closed issues.

Regression?

I don't know, I started using Hyprland only recently

System Info and Hyprland Version

System/Version info
Hyprland 0.46.2 built from branch  at commit 0bd541f2fd902dbfa04c3ea2ccf679395e316887  (version: bump to 0.46.2).
Date: Thu Dec 19 19:26:47 2024
Tag: v0.46.2, commits: 5566
built against:
 aquamarine 0.5.1
 hyprlang 0.6.0
 hyprutils 0.3.0
 hyprcursor 0.1.11
 hyprgraphics 0.1.1


flags set:
debug


System Information:
System name: Linux
Node name: computerX
Release: 6.12.11-gentoo-dist
Version: #1 SMP PREEMPT_DYNAMIC Thu Jan 23 20:12:05 -00 2025


GPU information: 
03:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Navi 22 [Radeon RX 6700/6700 XT/6750 XT / 6800M/6850M XT] [1002:73df] (rev c1) (prog-if 00 [VGA controller])
13:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Granite Ridge [Radeon Graphics] [1002:13c0] (rev c2) (prog-if 00 [VGA controller])


os-release: NAME=Gentoo
ID=gentoo
PRETTY_NAME="Gentoo Linux"
ANSI_COLOR="1;32"
HOME_URL="https://www.gentoo.org/"
SUPPORT_URL="https://www.gentoo.org/support/"
BUG_REPORT_URL="https://bugs.gentoo.org/"
VERSION_ID="2.17"


plugins:

Description

On launching lxqt-session using the Desktop module or from the cli lxqt-session --desktop then spawning a new window, the window is not focused nor movefocus l/r/u/d. It appears that the desktop grabbed focus and won't let go? It was also reported that xfdesktop exhibits the same symptom.

lxqt/lxqt-wayland-session#57 (comment)

How to reproduce

  1. Start LXQt 2.1 Wayland session using Hyprland as the wm/compositor and Desktop module enabled (default) or start Hyprland Wayland session and lxqt-session --desktop pcmanfm-qt --desktop
  2. With no windows openned
  3. Launch an application via keybind or LXQt Fancy Menu (launcher)
  4. Note the application doesn't have focus
  5. Mouse click or move mouse if follow mouse enabled
  6. Launching additional applications work as expected once a window has focus
  7. Closing all the windows and launcher an app will exhibit the symptoms again

Attach not paste

  • I understand that all text files must be attached, and not pasted directly. If not respected, this issue will likely get closed as spam

Checklist of files to include below

  • Hyprland config - hyprctl systeminfo -c (always include)
  • Crash report (always include in case of crash)
  • Video (always include in case of a visual bug)
  • Logs (might contain useful info such as errors)

Additional info & File uploads

Originally, I opened an issue with the lxqt-wayland-session project. It's been closed and they directed me to open a Hyprland issue.

lxqt/lxqt-wayland-session#57

hyprland_config_dump.txt

@rharmonson rharmonson added the bug Something isn't working label Feb 4, 2025
@rharmonson
Copy link
Author

I hate the title I gave this issue, but insufficient understanding to give a better one.

@stefonarch
Copy link

stefonarch commented Feb 5, 2025

As I can confirm it, just a little correction:

  • follow_mouse=0 has to be set
  • the command to start the desktop is pcmanfm-qt --desktop and has to be executed from a launcher (not a terminal window). No window has to be open to test it.

Any app opened in any way will not receive focus, until one got focus manually, after that it's fine.

@rharmonson
Copy link
Author

rharmonson commented Feb 5, 2025

@stefonarch, thank you. I updated my original post to use the correct command and clarify no windows can be opened prior to application launch.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants