Skip to content

lagging when scrolled when recolor is set #886

@EMtLoD

Description

@EMtLoD

Is there an existing issue for this?

  • I have searched the existing issues

Problem

using much more CPU when scrolling when recolor is set.

Steps to reproduce

Arch linux
Hyprland 0.53.3 built from branch v0.53.3 at commit dd220efe7b1e292415bd0ea7161f63df9c95bfd3 clean (version: bump to 0.53.3).
Date: Sat Jan 24 20:02:06 2026
Tag: v0.53.3, commits: 6793

Libraries:
Hyprgraphics: built against 0.5.0, system has 0.5.0
Hyprutils: built against 0.11.0, system has 0.11.0
Hyprcursor: built against 0.1.13, system has 0.1.13
Hyprlang: built against 0.6.8, system has 0.6.8
Aquamarine: built against 0.10.0, system has 0.10.0

Version ABI string: dd220efe7b1e292415bd0ea7161f63df9c95bfd3_aq_0.10_hu_0.11_hg_0.5_hc_0.1_hlg_0.6
no flags were set

zathura 2026.02.09
girara 2026.02.04 (runtime: 2026.02.04)
(plugin) pdf-mupdf (2026.2.3) (/usr/lib/zathura/libpdf-mupdf.so)
(plugin) ps (2026.2.3) (/usr/lib/zathura/libps.so)

open some pdf (consider zooming in for more lag) and try to scroll on J and K

with no recolor there is some but not so critical CPU load
press Ctlr-R to enable recolor
with recolor there is much more CPU load
(CPU load was monitored with Btop)

Expected behavior

to not have so much more lag with recolor

zathura version (zathura --version)

zathura 2026.02.09

girara version (zathura --version)

girara 2026.02.04 (runtime: 2026.02.04)

zathura backend

(plugin) pdf-mupdf (2026.2.3) (/usr/lib/zathura/libpdf-mupdf.so)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions