Bug 373587 - Startup notification is broken
Summary: Startup notification is broken
Status: RESOLVED WORKSFORME
Alias: None
Product: frameworks-kwindowsystem
Classification: Frameworks and Libraries
Component: general (show other bugs)
Version: unspecified
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Martin Flöser
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-12-12 20:39 UTC by Emmanuel Lepage Vallée
Modified: 2022-11-26 05:17 UTC (History)
1 user (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 Emmanuel Lepage Vallée 2016-12-12 20:39:28 UTC
No KF5 based application correctly report their SNID. This breaks a lot of use cases such as "launch on screen X" or things like that in some WM. All other applications support that correctly but not KF5 ones.

DESKTOP_STARTUP_ID="DSFSDFSD" okular #KDE4 == WORK
DESKTOP_STARTUP_ID="DSFSDFSD" inkscape #GTK2 == WORK
DESKTOP_STARTUP_ID="DSFSDFSD" urxvt #libstartupnotification == WORK
DESKTOP_STARTUP_ID="DSFSDFSD" dolphin #KF5 == FAIL

// Doesn't work
KStartupInfoId i;
qDebug() << "\n\n\nFOO" <<  i.id() << i.setupStartupEnv() << i.id();
>>> FOO "" false "" 

// Doesn't work
    KStartupInfoId i;
    i.initId("ASDASDASDASDASD");
qDebug() << "\n\n\nFOO" <<  i.id() << i.setupStartupEnv() << i.id();
>>> FOO "ASDASDASDASDASD" true "ASDASDASDASDASD"

// Doesn't work
QX11Info::setNextStartupId("sdfsdfsdfsdf");
qDebug() << "\n\n\nFOO" << QX11Info::nextStartupId();
>>>> FOO "sdfsdfsdfsdf"
Comment 1 Justin Zobel 2022-10-27 02:48:57 UTC
Thank you for reporting this bug in KDE software. As it has been a while since this issue was reported, can we please ask you to see if you can reproduce the issue with a recent software version?

If you can reproduce the issue, please change the status to "REPORTED" when replying. Thank you!
Comment 2 Bug Janitor Service 2022-11-11 05:19:33 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 3 Bug Janitor Service 2022-11-26 05:17:09 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!