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

Wrong initial window size on unfocused monitor #9057

Open
3 of 6 tasks
Kam1k4dze opened this issue Jan 13, 2025 · 3 comments
Open
3 of 6 tasks

Wrong initial window size on unfocused monitor #9057

Kam1k4dze opened this issue Jan 13, 2025 · 3 comments
Labels
bug Something isn't working

Comments

@Kam1k4dze
Copy link
Contributor

Kam1k4dze commented Jan 13, 2025

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.46.0 built from branch main at commit a6b263713a2b862ed41362082e2147e081934077  (protocols: allow hyprland-toplevel-export to capture hidden windows (9041)).
Date: Sun Jan 12 22:10:36 2025
Tag: v0.46.0-115-ga6b26371, commits: 5670
built against:
 aquamarine 0.7.1
 hyprlang 0.6.0
 hyprutils 0.3.3
 hyprcursor 0.1.11
 hyprgraphics 0.1.1


no flags were set


System Information:
System name: Linux
Node name: arch
Release: 6.12.9-zen1-1-zen
Version: #1 ZEN SMP PREEMPT_DYNAMIC Fri, 10 Jan 2025 00:39:35 +0000


GPU information: 
01:00.0 VGA compatible controller [0300]: NVIDIA Corporation GA104 [GeForce RTX 3060] [10de:2487] (rev a1) (prog-if 00 [VGA controller])
NVRM version: NVIDIA UNIX Open Kernel Module for x86_64  565.77  Release Build  (archlinux-builder@)  


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

When a window opens while the current focus is on a different monitor, it briefly appears at an incorrect size. This issue occurs regardless of whether animations are enabled or disabled.

How to reproduce

  1. Focus a window on one monitor.
  2. Attempt to open a window on a different monitor.

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

anim_enabled.webm
anim_disabled.webm
@Kam1k4dze Kam1k4dze added the bug Something isn't working label Jan 13, 2025
@vaxerski
Copy link
Member

how are you opening it on another monitor? window rules?

@Kam1k4dze
Copy link
Contributor Author

Kam1k4dze commented Jan 15, 2025

No window rules; everything happens on the default config. Windows simply open on the monitor where the cursor is. With follow_mouse:1, we move the cursor to an empty workspace on the other monitor and open the application. With follow_mouse:2 and follow_mouse:3, this works with non-empty workspaces because the focus does not move with the cursor.

@vaxerski
Copy link
Member

I getchu. Size prediction fail, that's it. Don't know why this would happen in such a situation though, maybe we check last window and not last monitor

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