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

IME popup panel leaves glitchy artifacts behind #5256

Closed
sam-mccall opened this issue Mar 25, 2024 · 9 comments · Fixed by #5373 or #5383
Closed

IME popup panel leaves glitchy artifacts behind #5256

sam-mccall opened this issue Mar 25, 2024 · 9 comments · Fixed by #5373 or #5383
Labels
bug Something isn't working

Comments

@sam-mccall
Copy link

sam-mccall commented Mar 25, 2024

Hyprland Version

System/Version info
Hyprland, built from branch main at commit 6b28bf563e3b4e5f6631985f24c88e8a8ebaa0d4  (keybinds: Fix exit trigger by moving it to monitor.frame (5240)).
Date: Mon Mar 25 02:46:59 2024
Tag: v0.37.1-63-g6b28bf56

flags: (if any)


System Information:
System name: Linux
Node name: anacletus
Release: 6.6.13-1rodete3-amd64
Version: #1 SMP PREEMPT_DYNAMIC Debian 6.6.13-1rodete3 (2024-03-04)


GPU information: 
00:02.0 VGA compatible controller [0300]: Intel Corporation TigerLake-LP GT2 [Iris Xe Graphics] [8086:9a49] (rev 01) (prog-if 00 [VGA controller])


os-release: PRETTY_NAME="Debian GNU/Linux rodete"
NAME="Debian GNU/Linux rodete"
VERSION_CODENAME=rodete
ID=debian


plugins:

Bug or Regression?

Bug

Description

Sometimes when an IME panel is shown/hidden, some chunks of the old panel hang around and don't get cleaned up.

They flash as if we're alternating between two buffers and each glitch is only in one. (See video)

How to reproduce

Here's a minimal IME used in the video that shows and hides a red panel on alternating keypresses:
https://github.com/sam-mccall/bugreports/blob/hyprcoord/sway-im-popup/src/main.rs

Crash reports, logs, images, videos

record3.mp4
@WantenMN
Copy link

Can you update the corrupted video, please?

@q234rty
Copy link
Contributor

q234rty commented Apr 1, 2024

Please reopen this: the artifacts still happen when pressing backspace while the popup is visible.

@vaxerski vaxerski reopened this Apr 1, 2024
@vaxerski
Copy link
Member

vaxerski commented Apr 1, 2024

yall havin all these problems and yet I've not seen a single bug with the ime box for half a month now

@sungyoonc
Copy link
Contributor

@q234rty Can you provide a video and the exact repro steps? Does the artifact look different from the video above?

@q234rty
Copy link
Contributor

q234rty commented Apr 2, 2024

I'm outside so can't provide a video, the repro steps are just press backspace when fcitx5 popup is active so that the length of the popup decreases.

@sungyoonc
Copy link
Contributor

Oops mirrorlist was outdated, updated and have reproduced it.

@sungyoonc
Copy link
Contributor

Try this
patch.txt

#5373 damaged current popup's width and height, not the last one

@sungyoonc
Copy link
Contributor

@sam-mccall @q234rty

@q234rty
Copy link
Contributor

q234rty commented Apr 2, 2024

The new patch works for me.

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
5 participants