https://bugs.kde.org/show_bug.cgi?id=455642
Bug ID: 455642
Summary: runtime warning Cannot register a job with
KUiServerV2JobTracker without
QGuiApplication::desktopFileName
Product: frameworks-kjobwidgets
Version: 5.95.0
Platform: Other
OS: Linux
Status: REPORTED
Severity: normal
Priority: NOR
Component: general
Assignee: [email protected]
Reporter: [email protected]
Target Milestone: ---
SUMMARY
I'm working on a non-KDE Qt application which happens to use KDE file dialogs
when run on plasma. This then triggers runtime warnings and UBSAN warnings like
the following:
```
32.799 warning: kf.jobwidgets/unknown[unknown:0]: Cannot register a job
with KUiServerV2JobTracker without QGuiApplication::desktopFileName
```
Can this be handled more gracefully or is this now a hard requirement for all
Qt applications?
STEPS TO REPRODUCE
1. launch non-KDE application using Qt
2. open file dialog
3. look at console output
OBSERVED RESULT
```
32.799 warning: kf.jobwidgets/unknown[unknown:0]: Cannot register a job
with KUiServerV2JobTracker without QGuiApplication::desktopFileName
```
EXPECTED RESULT
No runtime warnings
SOFTWARE/OS VERSIONS
Linux/KDE Plasma: latest archlinux packages
(available in About System)
KDE Plasma Version:
KDE Frameworks Version: 5.95.0
Qt Version: 5.15.5 (kde patch collection)
ADDITIONAL INFORMATION
--
You are receiving this mail because:
You are watching all bug changes.