SUMMARY No document name in window title. STEPS TO REPRODUCE 1. Open a .kra file 2. Read title of window OBSERVED RESULT Window title only reads "― Krita" EXPECTED RESULT If the document opened is called "thumb.kra", the window title should read some version of "thumb ― Krita". SOFTWARE/OS VERSIONS Linux/KDE Plasma: Ubuntu 20.04 running MATE Desktop
Using Debian 10 and MATE, all appimages from 4.2.0 onwards do not have the document name in the title bar. The Debian repo version (4.1.7, they are slow) does have the document name in the title bar. Can you remember when you last saw the name in the title bar and with what form of running krita?
I actually restored this behaviour in the krita/4.3 and master branch, but that shows why I changed it in the first place: now it shows the filename twice if krita is in subwindow mode.
Git commit 304e72bbe53685e48c479a8175a6685da7ab10c6 by Boudewijn Rempt. Committed on 20/08/2020 at 10:11. Pushed by rempt into branch 'master'. Try once more to fix the window captions The problem is that QMDiArea messes with the mainwindow's title and that cannot be changed without hacking Qt; it will always add the current mdi document to the window title. M +18 -23 libs/ui/KisMainWindow.cpp M +0 -6 libs/ui/KisMainWindow.h https://invent.kde.org/graphics/krita/commit/304e72bbe53685e48c479a8175a6685da7ab10c6
Git commit 191a104cd38566205319dd14f7a7f23dc9dfb238 by Boudewijn Rempt. Committed on 20/08/2020 at 10:13. Pushed by rempt into branch 'krita/4.3'. Try once more to fix the window captions The problem is that QMDiArea messes with the mainwindow's title and that cannot be changed without hacking Qt; it will always add the current mdi document to the window title. (cherry picked from commit 304e72bbe53685e48c479a8175a6685da7ab10c6) M +18 -19 libs/ui/KisMainWindow.cpp M +0 -5 libs/ui/KisMainWindow.h https://invent.kde.org/graphics/krita/commit/191a104cd38566205319dd14f7a7f23dc9dfb238