martinrotter / textosaurus

Cross-platform text editor based on Qt and Scintilla.
GNU General Public License v3.0
284 stars 44 forks source link

Feature Request: Current document name also shown in the window title #71

Open paoloschi opened 5 years ago

paoloschi commented 5 years ago

Brief description of the issue.

textosaurus-master-43fedaa-linux64.AppImage

Currently, the name of the application -followed by the current release version- appears in the title of all open windows. When I have two or more instances of Textosaurus (two or more windows) open, in the tasklist on my desktop panel I have as many indistinguishable recall buttons: to raise the window corresponding to a specific document I have to guess which one to press... I ask that the name and possibly also the path of the document corresponding to the active TAB in the editor can be read as the first element on the left in the title of the window, so that it becomes distinguishable in the labels visible in the tasklist on the desktop panel

How to reproduce the bug?

Not a bug, it is the current appearance of all open Textosaurus windows

What is the expected result?

Looking at the tasklist in the desktop panel, I see something like that...

...|[*]Document_1 - Textosaurus|[*]Document_2 - Textosaurus|[*]Document_3 - Textosaurus|...

or, with also the path

...|[*]Document_1 - /doc/path - Textosaurus|[*]Document_2 - /doc/path - Textosaurus|[*]Document_3 - /doc/path - Textosaurus|...

What actually happened?

...while now it looks like this:

...|[*]Textosaurus 0.9.12|[*]Textosaurus 0.9.12|[*]Textosaurus 0.9.12|...

Other information (logs, see Wiki)

With [*] I have intended to indicate the image icon that in each case appears in the tasklist and also serves as an immediate referral to the application if the label no longer shows the name due to lack of space...