FS#22587 - [feh] Crashes when viewing images.
Attached to Project:
Arch Linux
Opened by Xyne (Xyne) - Monday, 24 January 2011, 11:13 GMT
Last edited by Gaetan Bisson (vesath) - Wednesday, 26 January 2011, 11:11 GMT
Opened by Xyne (Xyne) - Monday, 24 January 2011, 11:13 GMT
Last edited by Gaetan Bisson (vesath) - Wednesday, 26 January 2011, 11:11 GMT
|
Details
The latest version of feh (1.11-1) crashes when viewing
images if any key is pressed or when trying to access the
right-click menu.
feh WARNING: the config is now read from .config/feh/themes, please update your path! giblib warning: couldn't load font yudit/10, attempting to fall back to fixed. giblib warning: failed to even load fixed! Attempting to find any font. feh ERROR: couldn't load menu font yudit/10, did you make install? Are you specifying a nonexistant font? Did you tell feh where to find it with --fontpath? https://bbs.archlinux.org/viewtopic.php?id=112257 |
This task depends upon
Closed by Gaetan Bisson (vesath)
Wednesday, 26 January 2011, 11:11 GMT
Reason for closing: Fixed
Additional comments about closing: feh-1.11-3 in [extra]
Wednesday, 26 January 2011, 11:11 GMT
Reason for closing: Fixed
Additional comments about closing: feh-1.11-3 in [extra]
Even if I download the feh-1.11 source tarball and just compile with a simple make, the binary I obtain does detect key events.
There is no error message...
It simply doesn't recognize keyboard input. I can access the menu by right-clicking, and left clicking changes to the next image, but pressing keys, including esc, does nothing. There is no console output and it does not crash as it in 1.11-1.
I tried using the example key configuration file (copied to $XDG_CONFIG_HOME/feh/key, i.e. ~/.config/feh/key) but that did nothing.
I also tried removing the configuration file.
Rebuilding the package using the 1.11-2 PKGBUILD produces no errors but the built package still does not recognize keyboard input.
I am on a fully updated x86_64 system.
The issue here was that keystates always have the bit 2^4 set to 1 (I have no clue why); the quick fix simply ignores this bit just like feh does with the bit 2^0 (corresponding to Shift); so rather than xoring with 0x1 we xor with 0x11.
Xyne, it'd be great if you could let me know if that patch solves your issues as well.