Bug 496165 - Window title shows last opened file even when no files are opened.
Summary: Window title shows last opened file even when no files are opened.
Status: CONFIRMED
Alias: None
Product: krita
Classification: Applications
Component: General (show other bugs)
Version: 5.2.6
Platform: Slackware Linux
: NOR minor
Target Milestone: ---
Assignee: Krita Bugs
URL:
Keywords:
: 496261 (view as bug list)
Depends on:
Blocks:
 
Reported: 2024-11-12 09:27 UTC by Paul Richter
Modified: 2024-11-14 10:35 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Paul Richter 2024-11-12 09:27:44 UTC
SUMMARY
Window title shows last opened file even when no files are opened.

STEPS TO REPRODUCE
1. Open Krita
2. Create a new image, and save it. Or open a recent image. 
3. Close the image, so there are no open files.

OBSERVED RESULT
The window title shows the name and size of the image that has been closed, followed by " -- Krita" 

EXPECTED RESULT
The window title should be just "Krita".


SOFTWARE/OS VERSIONS
Krita

 Version: 5.2.6 (git 4c99c9a)
 Hidpi: true

Qt

  Version (compiled): 5.15.7
  Version (loaded): 5.15.7

OS Information

  Build ABI: x86_64-little_endian-lp64
  Build CPU: x86_64
  CPU: x86_64
  Kernel Type: linux
  Kernel Version: 5.4.249-pnr
  Pretty Productname: Slackware 15.0 x86_64
  Product Type: slackware
  Product Version: 15.0
  Desktop: KDE
  Appimage build: Yes

Locale

  Languages: en_US, en, en_Latn_US
  C locale: en_US.UTF-8
  QLocale current: en
  QLocale system: en
  QTextCodec for locale: UTF-8

    (Unsupported) GeForce GTS 250/PCIe/SSE2 (OpenGL ES 2.0 NVIDIA 340.108 340.108) 
    (Supported) GeForce GTS 250/PCIe/SSE2 (3.3.0 NVIDIA 340.108)  

useBufferInvalidation (config option): false


Hardware Information

  GPU Acceleration: desktop
  Memory: 16006 Mb
  Number of Cores: 8
  Swap Location: /tmp
  Built for: sse2
  Base instruction set: sse4.1
  Supported instruction sets: sse3 ssse3 sse4_1 sse4_2

Current Settings

  Current Swap Location: /tmp
  Current Swap Location writable: true
  Undo Enabled: true
  Undo Stack Limit: 30
  Use OpenGL: true
  Use OpenGL Texture Buffer: true
  Disable Vector Optimizations: false
  Disable AVX Optimizations: false
  Canvas State: OPENGL_SUCCESS
  Autosave Interval: 900
  Use Backup Files: true
  Number of Backups Kept: 1
  Backup File Suffix: ~
  Backup Location: Same Folder as the File
  Backup Location writable: false
  Resource Location: /home/paul/.local/share/krita
  Use Win8 Pointer Input: false
  Use RightMiddleTabletButton Workaround: false
  Levels of Detail Enabled: false
  Use Zip64: false


Loaded Python Plugins
	colorspace
	comics_project_management_tools
	documenttools
	exportlayers
	filtermanager
	lastdocumentsdocker
	plugin_importer
	quick_settings_docker
	scripter
	tenbrushes
	tenscripts
	colorspace
	comics_project_management_tools
	documenttools
	exportlayers
	filtermanager
	lastdocumentsdocker
	plugin_importer
	quick_settings_docker
	scripter
	tenbrushes
	tenscripts
Comment 1 Dmitry Kazakov 2024-11-12 13:15:58 UTC
Hi, Paul!

Thank you for the report. I can confirm it.
Comment 2 Dmitry Kazakov 2024-11-12 13:17:58 UTC
Just an observation: the bug happens only in "Tabbed" mode. It doesn't happen in subwindow mode.
Comment 3 Dmitry Kazakov 2024-11-12 13:21:12 UTC
The issue is related to this patch over Qt by ours: 
https://invent.kde.org/szaman/qtbase/-/commit/f672df9a4eecf2f3918f7112e4186b264919bd36
Comment 4 Dmitry Kazakov 2024-11-14 10:35:05 UTC
*** Bug 496261 has been marked as a duplicate of this bug. ***