Bug 2195944 - workspace switching with DesktopCube with shortcutkeys not working anymore
Summary: workspace switching with DesktopCube with shortcutkeys not working anymore
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: cinnamon-desktop
Version: 37
Hardware: Unspecified
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: leigh scott
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-05-06 18:47 UTC by customercare
Modified: 2023-11-08 10:15 UTC (History)
3 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2023-11-08 10:15:37 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github linuxmint cinnamon-spices-extensions issues 391 0 None open DesktopCube@yare Not functioning on Mint21 Beta 2023-05-06 18:51:26 UTC

Description customercare 2023-05-06 18:47:15 UTC
cinnamon-translations-5.6.1-1.fc37.noarch
cinnamon-control-center-filesystem-5.6.1-1.fc37.x86_64
cinnamon-themes-2.0.8-1.fc37.noarch
cinnamon-menus-5.6.0-1.fc37.x86_64
cinnamon-desktop-5.6.1-1.fc37.x86_64
cinnamon-session-5.6.0-1.fc37.x86_64
cinnamon-screensaver-5.6.3-1.fc37.x86_64
cinnamon-settings-daemon-5.6.2-1.fc37.x86_64
cinnamon-control-center-5.6.1-1.fc37.x86_64
cinnamon-calendar-server-5.6.8-2.fc37.x86_64
cinnamon-5.6.8-2.fc37.x86_64
imsettings-cinnamon-1.8.3-8.fc37.x86_64


after the upgrade from F36 to F37 the extension DesktopCube does no longer work,
with results in no workspace switch at all if the correct keys are used.

The journal has this to report:

Mai 06 20:31:07 <hostname> cinnamon[2863]: JS ERROR: TypeError: binding is undefined
                                                       _init@/home/<username>/.local/share/cinnamon/extensions/DesktopCube@yare/extension.js:31:42
                                                       Cube@/home/<username>/.local/share/cinnamon/extensions/DesktopCube@yare/extension.js:20:16
                                                       onSwitch@/home/<username>/.local/share/cinnamon/extensions/DesktopCube@yare/extension.js:651:5
Mai 06 20:31:08 <hostname> cinnamon[2863]: JS ERROR: TypeError: binding is undefined
                                                       _init@/home/<username>/.local/share/cinnamon/extensions/DesktopCube@yare/extension.js:31:42
                                                       Cube@/home/<username>/.local/share/cinnamon/extensions/DesktopCube@yare/extension.js:20:16
                                                       onSwitch@/home/<username>/.local/share/cinnamon/extensions/DesktopCube@yare/extension.js:651:5
Mai 06 20:31:08 <hostname> cinnamon[2863]: JS ERROR: TypeError: binding is undefined
                                                       _init@/home/<username>/.local/share/cinnamon/extensions/DesktopCube@yare/extension.js:31:42
                                                       Cube@/home/<username>/.local/share/cinnamon/extensions/DesktopCube@yare/extension.js:20:16
                                                       onSwitch@/home/<username>/.local/share/cinnamon/extensions/DesktopCube@yare/extension.js:651:5
Mai 06 20:31:08 <hostname> cinnamon[2863]: JS ERROR: TypeError: binding is undefined
                                                       _init@/home/<username>/.local/share/cinnamon/extensions/DesktopCube@yare/extension.js:31:42
                                                       Cube@/home/<username>/.local/share/cinnamon/extensions/DesktopCube@yare/extension.js:20:16
                                                       onSwitch@/home/<username>/.local/share/cinnamon/extensions/DesktopCube@yare/extension.js:651:5
Mai 06 20:31:08 <hostname> cinnamon[2863]: JS ERROR: TypeError: binding is undefined
                                                       _init@/home/<username>/.local/share/cinnamon/extensions/DesktopCube@yare/extension.js:31:42
                                                       Cube@/home/<username>/.local/share/cinnamon/extensions/DesktopCube@yare/extension.js:20:16
                                                       onSwitch@/home/<username>/.local/share/cinnamon/extensions/DesktopCube@yare/extension.js:651:5


Reproducible: Always

Comment 1 customercare 2023-05-06 19:01:58 UTC
afaik from checking the code, 

The onSwitch()  does no longer supply the Binding Object:

function onSwitch(display, screen, window, binding) {
    new Cube(display, screen, window, binding);
}


var binding is undefined, which means, the hook inside the desktop api calling onSwitch() in the extension does not give any valid object or other type of variable to it.

Comment 2 customercare 2023-05-06 19:15:56 UTC
@leigh scott

pls point me a real api documention on CJS/Extensions and i try to fix it. the pages google suggests are pretty useless.

Comment 3 leigh scott 2023-11-08 10:15:37 UTC
Third party software isn't my problem to fix.


Note You need to log in before you can comment on or make changes to this bug.