Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wrong handling of filenames with multiple dots for window title #199

Open
bassklampfe opened this issue Oct 30, 2024 · 0 comments
Open

Wrong handling of filenames with multiple dots for window title #199

bassklampfe opened this issue Oct 30, 2024 · 0 comments

Comments

@bassklampfe
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant