[Issue] Show file path in titlebar

Discuss setup / installation issues - Add a spell checker, Language pack?
Post Reply
nesredep
Posts: 5
Joined: Wed Oct 14, 2009 6:16 pm

[Issue] Show file path in titlebar

Post by nesredep »

If you're working on two files that are almost identical, it's easy to get confused. I was Googling to find out how to get the file path to show in the titlebar, and found people asking about this YEARS AGO!! It seems so trivial, and yet so important an option, surely there is a way to do this, after YEARS of requests.

Please, tell me that there is a simple way to do this, that i have overlooked.

John
Last edited by Hagar Delest on Wed Oct 14, 2009 10:08 pm, edited 1 time in total.
Reason: tagged the thread as Issue (link to a bug report).
User avatar
Hagar Delest
Moderator
Posts: 32983
Joined: Sun Oct 07, 2007 9:07 pm
Location: France

Re: Show file path in titlebar

Post by Hagar Delest »

Can you post the link to that request? The full file name is displayed (even extension), it should be enough, especially if you have very long paths.
LibreOffice 24.8 on Linux Mint Debian Edition (LMDE Faye) and 24.8 portable on Windows 10
JohnV
Volunteer
Posts: 1585
Joined: Mon Oct 08, 2007 1:32 am
Location: Kentucky, USA

Re: Show file path in titlebar

Post by JohnV »

The workaround is a macro.

Code: Select all

Sub FilePath
oDoc = ThisComponent
If oDoc.hasLocation then
  MsgBox ConvertFromURL(oDoc.Url)
 Else   
  MsgBox "New file that has not been saved."
EndIf  
End Sub
Last edited by JohnV on Wed Oct 14, 2009 9:14 pm, edited 1 time in total.
nesredep
Posts: 5
Joined: Wed Oct 14, 2009 6:16 pm

Re: Show file path in titlebar

Post by nesredep »

Hagar de l'Est wrote:Can you post the link to that request? The full file name is displayed (even extension), it should be enough, especially if you have very long paths.
I need the PATH, not the extension.

I'm not sure how productive it is for me to spend time figuring out and documenting the places that DIDN'T solve my problem, but here's some of them:

http://www.oooforum.org/forum/viewtopic.phtml?t=35292

http://brainstorm.ubuntu.com/idea/12234/

http://markmail.org/message/h7ysv3pm3ovvrbs7
nesredep
Posts: 5
Joined: Wed Oct 14, 2009 6:16 pm

Re: Show file path in titlebar

Post by nesredep »

JohnV wrote:The workaround is a macro.

Code: Select all

Sub FilePath
oDoc = ThisComponent
If oDoc.hasLocation then
  MsgBox oDoc.Url
 Else   
  MsgBox "New file that has not been saved."
EndIf  
End Sub

Cool! Thanks. I tried it and it works. Still, it's an awful lot of clicks when a quick glance at the titlebar is all that's needed for most other programs.

Another workaround is the "pretend I'm going to Save As" method.

I can't understand how such a trivial feature is missing.

John
User avatar
Hagar Delest
Moderator
Posts: 32983
Joined: Sun Oct 07, 2007 9:07 pm
Location: France

Re: Show file path in titlebar

Post by Hagar Delest »

nesredep wrote:I need the PATH, not the extension.
I know. But we are just users like you so if there hasn't been any request for that, just ask for it: [Tutorial] Reporting bugs or suggestions.
LibreOffice 24.8 on Linux Mint Debian Edition (LMDE Faye) and 24.8 portable on Windows 10
nesredep
Posts: 5
Joined: Wed Oct 14, 2009 6:16 pm

Re: Show file path in titlebar

Post by nesredep »

Hagar de l'Est wrote:
nesredep wrote:I need the PATH, not the extension.
I know. But we are just users like you so if there hasn't been any request for that, just ask for it: [Tutorial] Reporting bugs or suggestions.
Ok, it's issue 105909, until they change it.
Last edited by acknak on Wed Oct 14, 2009 10:13 pm, edited 2 times in total.
Reason: live link for issue
JohnV
Volunteer
Posts: 1585
Joined: Mon Oct 08, 2007 1:32 am
Location: Kentucky, USA

Re: [Issue] Show file path in titlebar

Post by JohnV »

Still, it's an awful lot of clicks
Do Tools > Customize > Keyboard tab and tie the macro to a key combo.
tn@BeWo
Volunteer
Posts: 253
Joined: Fri Jul 24, 2009 8:26 am

Re: Show file path in titlebar

Post by tn@BeWo »

nesredep wrote:Still, it's an awful lot of clicks when a quick glance at the titlebar ...
Hi John
You can as well let the macron been executed automatically (on opening) and let it write into the title bar.
... where I'm not sure, if the latter might disturb the application. If so, you could place a permanent tool tip to show what you want to see.
OOo 3.2.1 on ubuntu 10.4, MsWXP, MsW2k
nesredep
Posts: 5
Joined: Wed Oct 14, 2009 6:16 pm

Re: Show file path in titlebar

Post by nesredep »

tn@BeWo wrote:
nesredep wrote:Still, it's an awful lot of clicks when a quick glance at the titlebar ...
Hi John
You can as well let the macron been executed automatically (on opening) and let it write into the title bar.
... where I'm not sure, if the latter might disturb the application. If so, you could place a permanent tool tip to show what you want to see.
Sounds interesting. In my case, I'm editing two files at the same time, and switching back and forth with the top menu "Window". So I think I need to write to the titlebar "on display", not "on open", if that's an option. I did write a macro for OpenOffice Writer many, many years ago, and I recall it was a rather horrible experience. Probably OpenOffice 1.x, and it involved filling out a form, and then populating some pages with the filled in data, so perhaps it's an unfair comparison. Still left me somewhat gunshy when it comes to OpenOffice macros.

I'm leaning towards just muddling through or using Word, but the macro approach certainly has merit. Especially if you can avoid multiple clicks to see what you need. Even the tooltip approach would be ok.

John
adamenko
Posts: 1
Joined: Tue May 27, 2014 1:56 am

Re: [Issue] Show file path in titlebar

Post by adamenko »

You can use Long Path Tool for this purpose
OpenOffice 3.1 on Windows 7
Post Reply