In prior, versions, pressing the 1-5 number keys would assign the rating to the selected image in the lighttable. In fact the manual still mentions this is possible: darktable 4.0 user manual - overview
In DT 4, this doesn’t seem to work, instead I just get an error “1 not assigned” or “2 not assigned”, etc. “r” for assigning rejected seems to work.
I tried messing around in the shortcut settings but couldn’t figure it out. Restoring default shortcuts did not work either. So, any way to get this functionality back in DT4? Doing culling and rating work with mouse only really sucks
Apparently, the default “number key” map to the numpad keys but not the top row keys. I was able to get it working by creating new mappings for the top row keys.
The linked thread mentions that this is expected behavior, but IMO it’s really confusing and should be considered a bug. At the very least, the shortcut keys in the UI should be labeled “Numpad-1” or “Toprow-1” to make it clear that they are considered different presses by DT (though IMO they should be the same).
Also afaik darktable just uses the keyboard codes reported by Gtk, and Gtk treats those sets of keys differently. That’s not to say darktable can’t treat those keys the same, but it would involve overriding default Gtk functionality.