If you want a Book Details popup for a book in the current library use one of the Book Details actions, viz:
n.b. those are custom shortcuts.
calibre:\\ URLs require a library name, show-details, view-book etc don't switch to the library (i.e. another SQLite database) so they can't provide linked values.
BR