Middle Click on Empty Space Immediately Searches in Default Search Engine the Clipboard Text
Captchas
- [x] I have read the instructions.
- [x] I have searched existing issues and avoided creating duplicates.
- [x] I am not filing an enhancement request.
What happened?
This is a strange one - In 1.7.5b, there was the issue where middle clicking in the empty space did not make a new tab. Now, in 1.7.6b, it does, but instead of opening the URLbar first like it should, it skips that step, makes a new tab, and searches in my default search engine (I tried with both google and kagi) whatever text is currently in my clipboard. Using right click + new tab works fine, double left clicking works fine, the new tab button works fine, it's just middle clicking that does this. This happens both when I middle click with my mouse, and when I do so with my laptop's mousepad.
I tested this in a profile with no mods, no CSS, and no extensions. My OS is Fedora 41, the KDE spin.
https://github.com/user-attachments/assets/19d66f91-8e70-4005-a69c-a3967a42e9d6
Reproducible?
- [x] I have checked that this issue cannot be reproduced on Mozilla Firefox.
Version
1.7.6b
What platform are you seeing the problem on?
Linux (Tarball)
Relevant log output if applicable
Can confirm the same behavior, also on Fedora 41.
I'm having a similar issue, but instead middle click on empty space does nothing at all. It worked fine before newest update. Even reverting back to new tab page doesn't fix it.
Distro: CachyOS kernel 6.13.2-2 (Arch Linux) DE: KDE Plasma 6.2.5
Additional input: Didn't want to open a new issue for something so similar, so hope you don't mind if I piggyback here. Double click still works fine and I can still middle click to close tabs.
This was a really weird move for Zen-Browser, as a lot of users use new tab pages for self-hosted dashboards or new tab extensions. I can't see many people using this feature, tbh. Maybe add it as a mod?
I'm having a similar issue, but instead middle click on empty space does nothing at all. It worked fine before newest update. Even reverting back to new tab page doesn't fix it.
Are you sure you updated to 1.7.6b? That was an issue in 1.7.5b, but it was fixed for me at least with the latest update and replaced with the issue I described here.
i'm facing this on arch loonix as well (1.7.6b) the middle click is supposed to open new tabs or the urlbar but opens the search page w the text from the clipboard
for now just turn off browser.tabs.searchclipboardfor.middleclick to make it work like before
Apparently, this setting
for now just turn off
browser.tabs.searchclipboardfor.middleclickto make it work like before
is turned on by default on linux (?) but not on windows, if that is so the necessary change would be to make the default consistent across platforms
it's a useful feature for some, otherwise
I'm having a similar issue, but instead middle click on empty space does nothing at all. It worked fine before newest update. Even reverting back to new tab page doesn't fix it.
Are you sure you updated to 1.7.6b? That was an issue in 1.7.5b, but it was fixed for me at least with the latest update and replaced with the issue I described here.
Ah, this is it. Is the AUR upload corrupted? I can't install from tarball and yay/paru isn't reflecting the 1.7.6b package for some reason. Tarball is invalid/corrupted.
Ah, this is it. Is the AUR upload corrupted? I can't install from tarball and yay/paru isn't reflecting the 1.7.6b package for some reason. Tarball is invalid/corrupted.
hello??
Ah, this is it. Is the AUR upload corrupted? I can't install from tarball and yay/paru isn't reflecting the 1.7.6b package for some reason. Tarball is invalid/corrupted.
hello??
My end then. No idea what's going on. Back to the tinker table. It's probably CachyOS mirrors (though I can't install from source, either).
EDIT: Finally installed from aur git after restart. Anyone having this issue on CachyOS clone the .git from the AUR and makepkg -si, at least until Cachy updates it's mirrors.
EDIT 2: CachyOS mirrors now reflect the most up to date version.
I'm having the same issue on 1.8.2b (Arch Linux, Gnome on Wayland). Firefox opens a new Home tab with middle click as expected, even if browser.tabs.searchclipboardfor.middleclick and middlemouse.paste are set to true or false.
I also had the same issue, however I thought I'd mention it's not items from my clipboard. Whenever I highlight text, it will use that as the text that gets copied even though it doesn't show in my clipboard history. I'm running the latest stable version on Arch Linux.
Setting browser.tabs.searchclipboardfor.middleclick in about:config "fixed" this behaviour.
Setting browser.tabs.searchclipboardfor.middleclick in about:config "fixed" this behaviour.
I've tried that. The best workaround I've found was to move the Zen Home Page button to the sidebar and middle click on it, then set it to open Firefox Home.
Setting browser.tabs.searchclipboardfor.middleclick in about:config "fixed" this behaviour.
I've tried that. The best workaround I've found was to move the Zen Home Page button to the sidebar and middle click on it, then set it to open Firefox Home.
Opening a new home tab isn't default behaviour anymore as far as I'm aware, the current new tab behaviour mimics Arc where opening a new tab opens a search box. Unless I'm misunderstanding your issue.
See https://www.reddit.com/r/zen_browser/comments/1ik6zat/i_dont_like_the_change_to_new_tab_behavior/
Opening a new home tab isn't default behaviour anymore as far as I'm aware, the current new tab behaviour mimics Arc where opening a new tab opens a search box. Unless I'm misunderstanding your issue.
I know that. Double left-clicking on the sidebar/tab bar opens the search box, as it should, like typing Ctrl+T.
Middle-clicking on the sidebar/tab bar used to open a new home tab with the shortcuts grid (which is still the default behavior in Firefox). That was apparently removed in 1.7.5b, then introduced again but, instead of a new home tab, it loads the default search engine website with the most recent text in the clipboard.
Since this new middle-click behavior change wasn't mentioned in the release notes, I assume it's a bug, not a feature. And a privacy issue tbh.
Closing this issue as part of a repo cleanup
Due to technical-debt we had in the past, we are currently clearing out old, duplicate, stale, and non-actionable issues to improve issue tracking and make it easier to focus on fixing real bugs.
If this issue is still relevant, please open a new issue using our updated issue template, which will help us categorize and address it more efficiently.
Thanks for your understanding and for helping us improve the project! 🚀
This issue can be reopened at: https://github.com/zen-browser/desktop/issues/new?template=bug_report.yml&title=Middle%20Click%20on%20Empty%20Space%20Immediately%20Searches%20in%20Default%20Search%20Engine%20the%20Clipboard%20Text%0A