Bug 413030

Summary: Filename missing in window title
Product: [Applications] krita Reporter: Larpon <lp>
Component: GeneralAssignee: Krita Bugs <krita-bugs-null>
Status: RESOLVED INTENTIONAL    
Severity: normal CC: halla
Priority: NOR    
Version First Reported In: 4.2.7-beta1   
Target Milestone: ---   
Platform: Appimage   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Larpon 2019-10-16 12:05:50 UTC
SUMMARY

The filename of the open/focused document is missing from the window title (on X11 at least)

STEPS TO REPRODUCE
1. Open any .kra file
2. See that version number and exe-name in the window title - but no filename

OBSERVED RESULT
"4.2.7-beta1 (git e9b2584) : <empty> — Krita"

EXPECTED RESULT
"4.2.7-beta1 (git e9b2584) : <filename.kra> — Krita"


SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Kubuntu 18.04 / backports
KDE Plasma Version: 5.12.9
KDE Frameworks Version: 5.47.0
Qt Version: 5.9.5
Comment 1 Halla Rempt 2019-10-16 12:08:30 UTC
That's because the filename is shown in the tab if tabs are enabled. It's shown in the titlebar if krita is in subwindow mode with the subwindow maximized. It's not very neat, but Qt internally juggles the titles this way.