Comments (5)
Firefox does not allow WebExtensions addons to show arbitrary popup, so we only have three choices:
- A: Show preview popup inside the sidebar.
- Pros: Easy to implement, secure.
- Cons: Preview popup over vertical tabs will annoying (because it blocks access to tabs covered by it.)
- B: Embed preview popup inside the contents (the Web page you are currently see.)
- Pros: Popup won't cover vertical tabs so useful.
- Cons: Insecure. The active Web page can know you are using TST by tracking DOM events around elements embedded to the Web page by TST.
- C: Show preview popup as a regular window (like windows opened by
window.open()
)- Pros: Popup won't cover vertical tabs so useful. Easy to implement, secure.
- Cons: Visually annoying. The preview popup will have its own window decorations including titlebar.
All possible plans have serious cons, so currently I'm negative to implement preview popup from these choices.
Waterfox Sidebar (it is an extended version of TST) supports preview popup with native appearance. Waterfox itself is currently based on Firefox 115, so you'll see preview popup for tabs sidebar after its base version is updated to 128.
from treestyletab.
Do we talk about the same things?
I don't mean the thumbnails. That is an option in the settings page of Firefox independent from the normal or card view of the tooltip.
Because the tooltip without thumbnail looks the same with or without TST when the mentioned pref is set to false I thought it might be possible to have it look the same with and without TST with this pref set to true.
from treestyletab.
Oh sorry I misunderstood that you meant both browser.tabs.cardPreview.enabled
and browser.tabs.cardPreview.showThumbnails
are true
. I've realized that you meant browser.tabs.cardPreview.enabled
=true
and browser.tabs.cardPreview.showThumbnails
=false
case.
I've created mock images for A, B and C.
from treestyletab.
As those mocks described, such a rich popup has problems regardless it has a preview image or doesn't. This is the reason why I'm negative to simulate "browser.tabs.cardPreview.enabled" by TST.
from treestyletab.
I wouldn't mind A without thumbnail but I understand your opinion.
Am I correct that the normal tool tip in TST is from Firefox and not simulated by TST? And that Firefox changes the tool tips to card view only for the normal Firefox tabs? So the only way to have card view tool tips in TST is by simulating them with extra code?
And thank you for this valuable add-on!
from treestyletab.
Related Issues (20)
- [Bug] 4.0.15 hangs on ESR HOT 10
- Wrong tab selected after closing, reopening and closing again HOT 4
- [Bug] Tab titles don't resize with sidebar after nightly 2024-05-28 22:22:16.612000 HOT 3
- [Help] - (Seeking customisable default zoom)
- [Enhancement] Don't load unloaded tabs on drag drop of tree HOT 8
- [Enhancement] Easy setting tab indent width with a numerical setting in Preferences > Appearance HOT 4
- [Bug] Dragging collapsed folders sometimes results in tabs leaving tab folder/group hierachy HOT 12
- Please add a true tree functionality sorted by domain HOT 6
- [Bug] "Allow to open a new tab with the URL in the clipboard, by middle click on the "New Tab" button" not working HOT 4
- [Enhancement] “Focus to Parent Tab” and “Collapse this Tree” in one keyboard shortcut HOT 2
- [Bug] New tab from application opens with "forbidden-url" URL HOT 3
- [Bug] Animations play when re-rendering tabs with virtual scrolling enabled HOT 3
- [Bug] (Unloaded tabs unable to be accessed via Hotkey navigation) HOT 3
- [Bug] Shift + Opt + Right/Left Arrow override? HOT 11
- [Bug] 4.0.17 completely breaks TST, tabs are not visible anymore HOT 20
- [Bug] set-extra-contents to new-tab-button doesn't seem to respect window parameter HOT 4
- Wrong tab selected after closing instead of parent, intermittent HOT 4
- [Bug] Option to deactivate "Tabs from..." tab is not linked to properly HOT 1
- [Bug] Tabs not going to folder dragged into HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from treestyletab.