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

            Bug ID: 429595
           Summary: client.activitiesChanged signal triggered when desktop
                    in menu changed to same desktop
           Product: kwin
           Version: unspecified
          Platform: Archlinux Packages
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: scripting
          Assignee: kwin-bugs-n...@kde.org
          Reporter: lingtj...@hotmail.com
  Target Milestone: ---

SUMMARY
When I change the desktop a client resides on to the one it's already on, using
the menu, that is accessible by the top left icon of the border. An
activitiesChanged signal is triggered instead of a desktopChanged signal (which
is not triggered).

STEPS TO REPRODUCE
1. start konsole
2. run this kwin script, that prints whenever the activitiesChanged signal is
triggered
```
var clients = workspace.clientList();
for (var k in clients) {
    var c = clients[k];
    if (String(c.resourceName) === 'konsole') {
        c.activitiesChanged.connect(function () {
            print('activitiesChanged');
        });
    }   
}
```
3. click top left icon in konsole client border
4. move to desktop
5. select the same desktop the client is already on

OBSERVED RESULT
print of the activitiesChanged signal is triggered

EXPECTED RESULT
print of the desktopChanged signal is triggered

SOFTWARE/OS VERSIONS
latest ArchLinux packages

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

Reply via email to