Re: [dev] [dmenu] ASCII tab and unit separator cause startup lag

From: Đoàn Trần Công Danh <congdanhqx_AT_gmail.com>
Date: Sun, 9 Aug 2020 20:40:39 +0700

On 2020-08-06 18:59:33-0700, Eric Pruitt <eric.pruitt_AT_gmail.com> wrote:
> On Thu, Aug 06, 2020 at 10:06:35AM -0400, Greg B wrote:
> > I am using the packaged dmenu in Ubuntu 20.04. A sample of the output of
> > my window listing script is below, along with two simpler samples
> > exhibiting slow startup behavior.
> >
> > I'm happy to do further testing or troubleshooting if anyone can point
> > me in the right direction.
> >
> > -gb
> >
> > $ dmenu -v
> > dmenu-4.8
> >
> > # simple repro with tabs - startup render seems to scale linearly with
> > # number of tabs
> > $ for i in {1..10}; do echo $'\t'; done | dmenu
>
> I can reproduce this issue on Debian 10.

Quick testing shows problems with all non-printable characters,
and the delay is scaled with number of fonts installed.
aka it tried to search all available fonts to render those characters.

-- 
Danh
Received on Sun Aug 09 2020 - 15:40:39 CEST

This archive was generated by hypermail 2.3.0 : Sun Aug 09 2020 - 15:48:07 CEST