workspaces-bar icon indicating copy to clipboard operation
workspaces-bar copied to clipboard

adds optional menu to rename workspaces

Open rk1a opened this issue 4 years ago • 4 comments

Hi, I added a simple menu to directly rename workspaces. image When it is enabled in the preferences, a right click on the workspace bar opens the menu, a left click switches to the clicked workspace as before.

rk1a avatar Dec 30 '21 15:12 rk1a

Hi, thanks for that. Could you test your version for some time and check logs ("fthx", "js") to see if there is any error/warning? Right now I don't have the time to review all that, but fast renaming is in the scope of this extension as it's used by a lot of people.

fthx avatar Jan 03 '22 08:01 fthx

Hi, thanks for that. Could you test your version for some time and check logs ("fthx", "js") to see if there is any error/warning? Right now I don't have the time to review all that, but fast renaming is in the scope of this extension as it's used by a lot of people.

Hi, sure, checking logs while clicking the bar always gives me an error which is however unrelated to the code I added:

JS ERROR: TypeError: dockManager is null
getRunningApps@/usr/share/gnome-shell/extensions/[email protected]/locations.js:653:9
wrapWindowsManagerApp/fileManagerApp._updateWindows@/usr/share/gnome-shell/extensions/[email protected]/locations.js:258:9
wrapWindowsManagerApp/windowsChangedId<@/usr/share/gnome-shell/extensions/[email protected]/locations.js:250:24
_toggle_ws@/home/me/.local/share/gnome-shell/extensions/workspaces-bar@fthx/extension.js:124:62
_update_ws/<@/home/me/.local/share/gnome-shell/extensions/workspaces-bar@fthx/extension.js:114:59

With my version I see this log message times the number of workspaces when first right-clicking on the bar and when I rename the workspaces:

clutter_input_focus_set_cursor_location: assertion 'clutter_input_focus_is_focused (focus)' failed

But there is no indication from where..

btw, I'm on gnome 40.4.0

rk1a avatar Jan 03 '22 18:01 rk1a

I will look at this soon, during holidays.

fthx avatar Feb 09 '22 15:02 fthx

@fthx Did you have time to look into this? I think it will be a great add.

muhammad-saleh avatar Apr 08 '22 21:04 muhammad-saleh