jimevins/glabels-qt

Wrong handling of filenames with multiple dots for window title

Opened this issue · 0 comments

Take a label file named "USB-Mini-et.al..glabels"
Window title is displayed as "USB-Mini-et", but it should be "USB-Mini-et.al."
As far as I can read from the source, in QString Model::shortName() should change

				QFileInfo fileInfo( mFileName );
				return fileInfo.baseName();

to

				QFileInfo fileInfo( mFileName );
				return fileInfo.completeBaseName();

GLABELS
Version: 3.99-master564

SYSTEM INFO
OS: Ubuntu 22.04.5 LTS
Kernel: linux 5.15.0-124-generic
Build CPU Architecture: x86_64
Current CPU Architecture: x86_64

LOCALE
Name: de_DE