User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.1) Gecko/20061201 Firefox/2.0.0.1 (Ubuntu-feisty) Build Identifier: The subject says it all, it could be useful to have the full path of the file in the title bar. I have a lot of mousepad windows open concerning files with the same name and it would be very usefull to have an option to chow the full path in the title bar. Reproducible: Always Steps to Reproduce: 1.open a file 2.check the title bar Actual Results: It only shows the actual name of the file Expected Results: Show the full path of the file, at least until the users home folder ~.
Created attachment 1025 patch I like this idea. The patch attached implements the described behaviour.
The patch probably works (I haven't tried it), but showing the full path in the title should definitely be a (hidden) setting.
How about a --fullpath command line switch?
Not so sure about that Nick. Once you accept the possibility that a person might have more than one file open (tabs) then the idea of them having multiple files with the same name open is a pretty common usecase. Should probably just slide this under Options, but I'm actually thinking that a more HIG compliant layout may make us rearrange our various menus anyway. Leaving this bug open for now.
This is an extremely old, yet still valid bugreport. Especially since I started using mousepad with tabs a lot I can see the problem of using a few files with the same name. Although the path is visible as tooltip on the tabs, the statusbar seems pretty empty for me most of the time, makes me wonder whether it could simply go there?
It's indeed a very helpful feature. Notepad++ for example has it as default. Firefox on the other hand displays the file path on the tab and the window title remains as "Mozilla Firefox". Well if think this feature should be merged, at least as turned off as default. Just my 2 cents. P.S.: The patch can't be applied because Mousepad 0.3.0 was a complete rewrite. I could "refurbish" it once we come to an agreement.
I'd rather not introduce a GUI option for this, but there's no reason not to make it a setting in the simple to edit config file. What should be the default?
I believe this should be enabled as default, I think it's useful and most editors do this as default(gEdit, mEdit, Notepad++, Geany...). The config option seems nice to people that might not like this(IMHO this is the minority).
I second the request to make this the default setting (ON).
It seems this is already implemented as a (hidden) config file option called 'MiscPathInTitle' and only we need to change the default. I updated the bug report title and will leave open till change is merged.
FWIW, I added this existing preference to the new preferences dialog in http://git.xfce.org/apps/mousepad/commit/?id=43e987372941c4c4caca4428b00e60b3a618e00f. I didn't make it default to on, but that would be trivial to do.
Seems good enough for me. Thanks Matt.
Created attachment 8644 patch
Theo Linkspfeifer referenced this bugreport in commit 48f78021d71dea488f1f41de93a208be2da2b145 Show full path in window title by default (Bug #2896) https://git.xfce.org/apps/mousepad/commit?id=48f78021d71dea488f1f41de93a208be2da2b145
The patch works fine, if the user never changed that preference, it will default to the new value. Thanks Theo!