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

Electron App(e.g. VSCode, Obsidian): When I use Super + Left Mouse Button to drag a window, it doesn't work the first time. #9450

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

Comments

@fanlumaster
Copy link
Contributor

Already reported ? *

  • I have searched the existing open and closed issues.

Regression?

Probably not a regression / I don't remember it happening before

System Info and Hyprland Version

System/Version info
Hyprland 0.47.0 built from branch main at commit 6d25ef09cd6a33bcd589bd0f1e88e86fcff2dc67  (xwayland: add INCR support for clipboard transfers (9434)).
Date: Wed Feb 19 15:29:39 2025
Tag: v0.47.0-90-g6d25ef09, commits: 5832
built against:
 aquamarine 0.7.2
 hyprlang 0.6.0
 hyprutils 0.5.1
 hyprcursor 0.1.11
 hyprgraphics 0.1.2


no flags were set


System Information:
System name: Linux
Node name: archlinux
Release: 6.13.3-arch1-1
Version: #1 SMP PREEMPT_DYNAMIC Mon, 17 Feb 2025 17:42:11 +0000


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 c0) (prog-if 00 [VGA controller])


os-release: NAME="Arch Linux"
PRETTY_NAME="Arch Linux"
ID=arch
BUILD_ID=rolling
ANSI_COLOR="38;2;23;147;209"
HOME_URL="https://archlinux.org/"
DOCUMENTATION_URL="https://wiki.archlinux.org/"
SUPPORT_URL="https://bbs.archlinux.org/"
BUG_REPORT_URL="https://gitlab.archlinux.org/groups/archlinux/-/issues"
PRIVACY_POLICY_URL="https://terms.archlinux.org/docs/privacy-policy/"
LOGO=archlinux-logo


plugins:

Description

Electron App(e.g. VSCode, Obsidian): When I use Super + Left Mouse Button to drag a window, it doesn't work the first time. I need to keep the Super key pressed, and only on the second attempt with the left mouse button can the window be dragged.

How to reproduce

Use Super + Mouse Left key to drag electron apps window.

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

output.mp4
@fanlumaster fanlumaster added the bug Something isn't working label Feb 20, 2025
@fanlumaster
Copy link
Contributor Author

By the way, it will work normally when I didnot open any files.

@nnyyxxxx
Copy link
Contributor

just a thought, but this could be related to #8910

@Zebra2711
Copy link

It may be an XWayland issue. You can force those applications to run on Wayland instead by adding some flags to obsidian-flag.conf, electron-flag.conf, etc. I fcking hate XWayland because it has so many bugs and crashes

@fanlumaster
Copy link
Contributor Author

It may be an XWayland issue. You can force those applications to run on Wayland instead by adding some flags to obsidian-flag.conf, electron-flag.conf, etc. I fcking hate XWayland because it has so many bugs and crashes

I have already added wayland related flags to these apps, it worked well before, but now it canot work.

@vaxerski
Copy link
Member

can repro, will try to fix tmr

@vaxerski
Copy link
Member

aaand I cant repro today anymore

@fanlumaster
Copy link
Contributor Author

fanlumaster commented Feb 23, 2025

aaand I cant repro today anymore

I can consistently reproduce this issue here, including with applications like Chrome, Obsidian, VSCode, VSCode Insiders, and VSCodium. Although my system packages are updated several times since this issue came out first time.

@vaxerski
Copy link
Member

vaxerski commented Feb 24, 2025

hm. It's really inconsistent for me. It happens sometimes, but only once, and I can never get it to happen consistently.

Is this bisectable?

@fanlumaster
Copy link
Contributor Author

hm. It's really inconsistent for me. It happens sometimes, but only once, and I can never get it to happen consistently.

Is this bisectable?

For me, it always happen, and I am not sure if this issue is related to the flags I have set: https://github.com/fanlumaster/dotfiles/blob/master/.config/code-flags.conf. Perhaps, could you provide some hints, and then I can try to troubleshoot it myself?

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

4 participants