hyprwm / Hyprland

Hyprland is a highly customizable dynamic tiling Wayland compositor that doesn't sacrifice on its looks.

Home Page:https://hyprland.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

foot's glitched scrollbar

bvr-yr opened this issue · comments

Hyprland Version

System/Version info
Hyprland, built from branch main at commit 79a139c9495568f69dd995bce1ca579247a98a17  (flake.lock: update).
Date: Mon Apr 15 23:57:27 2024
Tag: v0.39.0-12-g79a139c9, commits: 4456

flags: (if any)


System Information:
System name: Linux
Node name: Arch-ASUS
Release: 6.6.27-1-lts
Version: #1 SMP PREEMPT_DYNAMIC Sat, 13 Apr 2024 11:50:59 +0000


GPU information: 
00:02.0 VGA compatible controller [0300]: Intel Corporation 4th Gen Core Processor Integrated Graphics Controller [8086:0416] (rev 06) (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:
  hyprexpo by Vaxry ver 1.0

Bug or Regression?

Bug

Description

see #4858 (reply in thread) for video

scrollbar indicator (as well as URL-labels when shown, Ctrl+o in default foot conf) seems to be treated specially. as, you won't believe, it is affected by Hyprland's rounding setting. which shouldn't happen I suppose

maybe this could help to investigate the root cause

as mentioned in discussion, force_introspection = 1 eliminates glitches for me, but it's likely a strange coincidence on my end

How to reproduce

to properly reproduce you need pad value to be greater than default 0 and probably some larger font size than default 8

try launching

foot --config=/dev/null --override=pad=8x8

and zoom with Ctrl+= or Ctrl+MouseUp

then just print some long stuff and scroll

Crash reports, logs, images, videos

No response

commented

the scrollbar really shouldnt be a subsurface...

Can replicate.

the scrollbar really shouldnt be a subsurface...

report upstream? I'm afraid the answer might be like "Hyprland problem, it works in sway"

Good for tracking it down to the pad setting. I can replicate as well, and here's my config:

[main]
font=PragmataPro Mono:size=13
pad=4x4 center

I noticed the glitch disappeared for the windows in which I set a theme with theme.sh. But that causes foot to have a slightly higher cpu usage. I don't know If this observation will help you guys debug the problem, but It might serve a temporary fix for some.


hyprland v37.1, foot v1.16.1 -pgo +ime +graphemes -assertions