! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
Huge delays in shortcuts when Xmodmap is large
Status:
RESOLVED: MOVED
Priority:
Very Low
Product:
Xfce4-settings
Component:
Xfsettingsd

Comments

Description Piotr Pabis 2020-04-22 12:02:25 CEST
When `.Xmodmap` has a lot of entries, the keybindings for shortcuts load very long after login (it reacts after a minute or so).
After I changed the bindings to a single one, it loads quickly.
Manual loading 255 entries via `xmodmap ~/.Xmodmap` works fast.
Unverified assumption: keybindings are reloaded with every line xmodmap reads.
Comment 1 Theo Linkspfeifer editbugs 2020-04-22 12:41:28 CEST
Please attach the .Xmodmap file so that it can be used to reproduce this issue.
Comment 2 Piotr Pabis 2020-04-22 16:39:44 CEST
Created attachment 9780 
Complete .Xmodmap

Attached slowdown causing file as requested.
It is the full output of `xmodmap -pke`
Comment 3 Theo Linkspfeifer editbugs 2020-04-22 16:52:22 CEST
I gave it a try and was able to trigger the bug.
Comment 4 Theo Linkspfeifer editbugs 2020-04-22 18:28:12 CEST
> Manual loading 255 entries via `xmodmap ~/.Xmodmap` works fast.
It may seem to finish fast, but there is the same heavy work done in the background for several seconds.
Comment 5 Theo Linkspfeifer editbugs 2020-04-22 18:35:14 CEST
Maybe this should be forwarded to the xmodmap maintainer.

https://gitlab.freedesktop.org/xorg/app/xmodmap
Comment 6 Theo Linkspfeifer editbugs 2020-04-23 10:24:18 CEST
Potential fix in bug 15032.
Comment 7 Git Bot editbugs 2020-05-28 23:18:16 CEST
-- GitLab Migration Automatic Message --

This bug has been migrated to xfce.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.xfce.org/xfce/xfce4-settings/-/issues/167.

Please create an account or use an existing account on one of our supported OAuth providers. 

If you want to fork to submit patches and merge requests please continue reading here: https://docs.xfce.org/contribute/dev/git/start#gitlab_forks_and_merge_requests

Also feel free to reach out to us on the mailing list https://mail.xfce.org/mailman/listinfo/xfce4-dev

Bug #16736

Reported by:
Piotr Pabis
Reported on: 2020-04-22
Last modified on: 2020-05-28

People

Assignee:
Xfce Bug Triage
CC List:
2 users

Version

Version:
4.14.1

Attachments

Complete .Xmodmap (14.18 KB, application/x-trash)
2020-04-22 16:39 CEST , Piotr Pabis
no flags

Additional information