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

Jetbrains ide quickdocumentation tooltips are in wrong position. #5692

Closed
lluisaliano opened this issue Apr 22, 2024 · 4 comments · Fixed by #6057
Closed

Jetbrains ide quickdocumentation tooltips are in wrong position. #5692

lluisaliano opened this issue Apr 22, 2024 · 4 comments · Fixed by #6057
Labels
bug Something isn't working

Comments

@lluisaliano
Copy link

Hyprland Version

System/Version info
Hyprland, built from branch  at commit fe7b748eb668136dd0558b7c8279bfcd7ab4d759  (props: bump version to 0.39.1).
Date: Tue Apr 16 16:01:03 2024
Tag: v0.39.1, commits: 4460

flags: (if any)


System Information:
System name: Linux
Node name: ultraluxor
Release: 6.8.7-arch1-1
Version: #1 SMP PREEMPT_DYNAMIC Wed, 17 Apr 2024 15:20:28 +0000


GPU information: 
0000:00:02.0 VGA compatible controller [0300]: Intel Corporation Raptor Lake-P [Iris Xe Graphics] [8086:a7a0] (rev 04) (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:

Bug or Regression?

Bug

Description

Jetbrains ide tooltips appear moved to the bottom right of where they should be. I am using xwayland zero rescaling config. I am not using any window rule.

How to reproduce

Open jetbrains and put the cursor over a method.

Crash reports, logs, images, videos

Tooltips-bug.mp4
@lluisaliano lluisaliano added the bug Something isn't working label Apr 22, 2024
@dnvery
Copy link
Contributor

dnvery commented May 12, 2024

Are you using a monitor scaling more than 1?

@dnvery
Copy link
Contributor

dnvery commented May 13, 2024

I have found out that this patch fixes the issue. What does this DELTA variable do? I haven't noticed any problems with the patch applied.
patch.txt

@vaxerski
Copy link
Member

since the monitor is scaled, and the window thinks it's at logicalPos * scale, we need to /scale any position it requests to go back to our logical coords

@vaxerski
Copy link
Member

ah, yea, but we already set logical so this is redundant. Correct, mind making a MR?

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

Successfully merging a pull request may close this issue.

3 participants