hugolabe / Wike

Wikipedia Reader for the GNOME Desktop
https://hugolabe.github.io/Wike/
GNU General Public License v3.0
228 stars 32 forks source link

Open links and bookmark in new tab in pressing `ctrl` #157

Open aunetx opened 8 months ago

aunetx commented 8 months ago

Hello, something that would be great is the ability to open any link, bookmark, history entry, ... in a new tab (in the background) when the user is pressing ctrl.

This is quite a logical control behaviour, as it is built-in in most browsers; and would permit to have a faster way to browse articles, and would permit to open multiple bookmarks without having to open a new tab and open the bookmark manager every time.

The tabs opened in background could be lazy-loaded too (meaning loaded only when the user clicks on them), if #155 is merged.

Tell me if you would like me to work on this; but to be honest I did not find how to get the state of a key (I know how to have a signal fire everytime ctrl is pressed for example, but I don't know how to verify if ctrl is pressed or not without any signal).