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

--- Comment #13 from Yuxin Wu <ppwwyy...@gmail.com> ---
Created attachment 130595
  --> https://bugs.kde.org/attachment.cgi?id=130595&action=edit
screenshot of Bustle

When I run bustle it seems to show kwin side is incorrect. I put the following
code into the scripting console:
```
print(workspace.numScreens);
print(workspace.workspaceWidth);
print(workspace.workspaceWidth+1);
print(workspace.workspaceWidth+2);
print(workspace.workspaceWidth+3);
print(workspace.workspaceWidth+4);
```
and launch kwin under the environment `QDBUS_DEBUG=1
QT_LOGGING_RULES="kwin_scripting.debug=true"`.
When I click "execute" in the scripting console, I saw this in the output of
kwin:
```
QDBusConnectionPrivate(0x7f67fc00f8c0) got message (signal):
QDBusMessage(type=MethodCall, service=":1.2859", path="/Scripting",
interface="", member="loadScript", signature="s", contents=("/home/
USER/.local/share/plasmashell/interactiveconsoleautosave.js") )                
                                                                               
                                     QDBusConnectionPrivate(0x7f67fc00f8c0)
Automatically sending reply: (QVariant(int, 2))
QDBusConnectionPrivate(0x7f67fc00f8c0) sending message (no reply):
QDBusMessage(type=MethodReturn, service="", signature="", contents=(2) )       
                                                
QDBusConnectionPrivate(0x7f67fc00f8c0) got message (signal):
QDBusMessage(type=MethodCall, service=":1.2859", path="/2", interface="",
member="run", signature="", contents=() )
kwin_scripting:
"/home/USER/.local/share/plasmashell/interactiveconsoleautosave.js" : "2"
kwin_scripting:
"/home/USER/.local/share/plasmashell/interactiveconsoleautosave.js" : "13440"
kwin_scripting:
"/home/USER/.local/share/plasmashell/interactiveconsoleautosave.js" : "13441"
kwin_scripting:
"/home/USER/.local/share/plasmashell/interactiveconsoleautosave.js" : "13442"
QThread(ptr=0x7f6811979060, name=QDBusConnectionManager) emitting signal at
"/2"
kwin_scripting:
"/home/USER/.local/share/plasmashell/interactiveconsoleautosave.js" : "13443"
kwin_scripting:
"/home/USER/.local/share/plasmashell/interactiveconsoleautosave.js" : "13444"
QThread(ptr=0x7f6811979060, name=QDBusConnectionManager) emitting signal at
"/2"
QDBusConnectionPrivate(0x7f67fc00f8c0) sending message (no reply):
QDBusMessage(type=MethodReturn, service="", signature="", contents=() )
QThread(ptr=0x7f6811979060, name=QDBusConnectionManager) emitting signal at
"/2"
```

According to the output, 6 messages are printed, but only 3 signals are sent
(this bug occasionally happens, but not always).
In the scripting console, I only observed the first 3 lines of output.

In Bustle, I only observed 3 signals (see attachment).

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

Reply via email to