Though this is in creative mode, compasses, recovery compasses and clocks are functional in tabs such as "Search Items" and "Tools" and "Saved Hotbars".
Probably intended, since these tabs are only present creative mode
MC-186797 Functioning clock and compasses in crafting output slot