Sumatra PDF is a PDF, ePub, MOBI, CHM, XPS, DjVu, CBZ, CBR reader for Windows

Show filename tooltip on tab mouse over

Show a filename tool tip (pop up) on tab mouse hover.

Having multiple files open makes the filenames appear clipped in the corresponding tabs on the title bar.

It would be nice to have a feature that hovering a mouse cursor over the specific tab shows a tool tip with a filename of the file that is opened in that particular tab.

3 Likes

Not long till it’ll be the third anniversary of my requesting this:

http://forums.fofou.org/sumatrapdf/topic?id=3184717

Hopefully some day…

4 Likes

It’s a year later, is it possible to add this? It would be nice to see what the tabs say I imagine it shouldn’t be more difficult than copying the code that does it for the menu buttons and telling it to get the text from the tab title.

Of course it would be nice and of course it is possible. However as with lots of other niggling issues, the required code may or may not be that simple but the problem is that there seems to be no-one with the time or motivation to actually write it. The primary (and sole) dev is not that active anymore and outside contributions are few and far between. So really, there’s nothing to be done here except see the open bug reports and feature requests for this fine FOSS project multiply in number, which makes me a bit sad…

I think the code may have already been pencilled in (class TabItemInfo )
I think the issue is where to hook it into e.g. a tab or key related action

I see I’m not the only one who would like to see this feature added. I would like to ask for even more though. There are times when I’m juggling files in different directories with the same name. It would be very useful if the mouse over would provide not just the file name, but the full path.

What I have to do now is to use cntl-D to pop up a dialog which then has to be dismissed. A tab mouse over seems to be the perfect way to easily view the full path of each file.

2 Likes

This is the only feature that I repeatedly would like to have added to Sumatra.

Need tooltip with book titles:

Been waiting patiently for many years now…

1 Like

Many pdf files have titles that overflow the horizontal space on the tab. If you could hover the mouse and show the full title (and extension), that would be nice!

Thanks!

2 Likes

As I have many tabs, I hope to have this feature

2 Likes

Sumatra PDF has been very useful for my purposes. I leave it open with documentation I need to refer to from time to time. IMHO, there’s only one area where it really needs improvement: tab management. I am a little surprised that it doesn’t offer tooltips on the tabs, so when you hover your mouse over truncated filenames you can see the whole name in a tooltip. That feature is seemingly everywhere in desktop apps: in Windows explorer and the taskbar, in text editors, in web browsers, on web pages themselves, etc.

Here’s a screenshot of the top of my Sumatra window as it almost always appears:

(I appended to the bottom of the image a screenshot of tab management options in UltraEdit I originally tried to attach to the last paragraph here because I got an error message when trying to post that said new users can only upload 1 image.)

Because the file names are truncated on the tabs, I usually find myself scrolling all the way to the top of the documents to see the title page to make sure I’m looking at the right PDF. (I do refer to the docs often but not often enough to remember all of their positions on the tabs.) I know there are other ways to solve this problem: I could rename the files, I could keep fewer of them open at the same time, I could maximize the window, etc. But none of those options seem especially appealing.

The text editor I use most often, UltraEdit, offers many useful tab management options. It would be great to see such options added to Sumatra PDF, but just having tooltips on the tabs would be a godsend.

+1 to this, and many more:

http://forums.fofou.org/sumatrapdf/topic?id=3184717

@Kevp
A quick F2 will confirm the filename name (and path where it came from) simply cancel (Esc) to continue.
Equally a safer way is Ctrl + D followed by Esc to confirm properties but its more keys and more awkward

Agreed none is as good as tooltips for scanning especially all open files but until then…

1 Like

Yeah, strongly support for tab tooltips. No need for other fancy stuff, no need to overcomplicate the minimalistic design we have now, no extra job. Just implement the tooltips and that’s all.

. Can you add this like chrome ac 36734454

Because title names not showing when i opened ten tabs. Thanks.

1 Like

I often have several document open at once - many times the first few characters of the file names are the same. As the tabs get smaller with an increasing number of open documents, it becomes difficult to distinguish one document from another without clicking on it. Would it be possible, in a “tool-tips” fashion, to display the entire document name while hovering the mouse over the tabs? Thanks for your consideration and for creating such a great app!

1 Like

Hi!
I would like to have an ability to see filename or even full path to file while placing mouse cursor on a tab. Sometimes it could be more convenient than pressing Ctrl+D.
Thanks you and Merry Christmas!

I hope you have a Happy New Year too, I note you use AutoIt which can possibly provide information via tooltips but am unsure how much SumatraPDF exposes per tab. I do know others using AutoHotKey can detect active tab filename by background saving ctrld D when full filename is also active.
For an example see https://github.com/nod5/sumatra_highlight_helper
[Later edit] it looks like only the ONE current tab file name and path is available using Au3Info so see next post.

On reflection I have shown with latest pre-release how to get a list of current tabs in

It should be possible to script that list in an AHK or AU3 gui so that clicking on filename could call a shortcut key combination for action(s)
Beware the list is always lagging behind so IF you re-order tabs the settings file will not be updated until the focused file (TabIndex = #) is changed e.g. by opening another tab.