cxw42 / TabFern

Google Chrome extension for saving and restoring sets of tabs, and for switching between windows and tabs from a vertical, grouped list.
https://cxw42.github.io/TabFern/
Other
170 stars 29 forks source link

URL's as tooltips #104

Closed BugZappr closed 6 years ago

BugZappr commented 6 years ago

I suggest that tooltips be used to show URL's. The advantage there, is that they are not chopped off so you can't see all of them, when they are shown in a vertical tab bar, as opposed to popping up as a tooltip so as to allow exceeding the width of the tab bar, and letting you see the entire URL.

Another nice option, might be to allow either:

  1. The URL in the tooltip,
  2. The webpage title in the tooltip, or
  3. Both
cxw42 commented 6 years ago

Looks like option 1 is as simple as

T.treeobj.get_node(node_id).a_attr.title=<the raw url>
T.treeobj.redraw_node(node_id)

in the right places. If I can drop it into v0.1.16 I will; otherwise, v0.1.17. (And by the way, I'm still happy to accept this as a pull request from somebody ;) )

@ShervinM

bluikko commented 6 years ago

Related: #117 about tooltips for buttons.

bluikko commented 6 years ago

+1 on the option 1, I do not see the benefit of options 2, 3 since page title is already displayed.

cxw42 commented 6 years ago

I decided to add separate checkboxes for the URL and for the title. Now in branch v020 if you want to try it unpacked.

BugZappr commented 6 years ago

I've been thinking about this for some time without any clear feelings, but I can suggest one reason to have the title in the tooltip, even if it is displayed in TabFern. With the tooltip, you can see the entire title, whereas in TabFern, it is lopped off to whatever the window width TabFern is in.

philiprhoades commented 5 years ago

I am using v 0.2.0 but hovering over most of the tabs does not show their URL - at first I thought it was because the tabs weren't open but even some open tabs do not display the URL while hovering - am I missing something?

cxw42 commented 5 years ago

@philiprhoades Have you turned them on? Settings | Appearance | Tooltips - pick whether you want URL, title, or both. Then refresh the TF window and you should see them!

philiprhoades commented 5 years ago

Ah, yes - I had turned them both on and I had restarted TF after my post for another reason but I hadn't checked whether that had made any difference when I got back into TF - thanks! Hmm . . it did work for some but why would it have worked for any at all then before I restarted TF?