https://bugs.kde.org/show_bug.cgi?id=373587

            Bug ID: 373587
           Summary: Startup notification is broken
           Product: frameworks-kwindowsystem
           Version: unspecified
          Platform: Other
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: mgraess...@kde.org
          Reporter: elv1...@gmail.com
                CC: kdelibs-b...@kde.org
  Target Milestone: ---

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"

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to