Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

smart-panel@mohammad-sn: "Workspace x" text box does not disappear #461

Closed
blacksmithde opened this issue Apr 26, 2023 · 3 comments
Closed

Comments

@blacksmithde
Copy link

 * Version 1.4 (2022-10-20 17:06:40)
 * Cinnamon 5.6.8
 * Linux Mint 21.1 Cinnamon
 * Intel Corporation HD Graphics 5500

Notify author of extension
@mohammad-sn

Issue
When switching workspaces by scrolling on the panel, a transparent text box appears in the top-left corner that says "Workspace 1" (or 2, 3, 4). That doesn't disappear like it should, it rather acts like a watermark.

Steps to reproduce

  1. Install the Smart Panel extension
  2. Have the "Action on scrolling" setting set to "Switch bewteen workspaces"
  3. Move the cursor to a free area on the panel
  4. Scroll

Expected behaviour
A text box appears, showing which workspace you're in. After a short time, it disappears.

Actual behaviour
The text box does not disappear and stays on top of all windows.

Additional Information
This is not the native Workspace text box in the middle of the screen that you get by using the keyboard shortcut. This is a screenshot of the text box:

image

@pa-tiq
Copy link
Contributor

pa-tiq commented May 16, 2023

Hi there!
I found a workaround to this.

  1. Open the file home/user/.local/share/cinnamon/extensions/smart-panel@mohammad-sn/extension.js
  2. Add return; after this._hideWorkspaceOSD(); inside the function showWorkspaceOSD
  showWorkspaceOSD: function () {
    this._hideWorkspaceOSD();
    return;
    ...
  1. Go to settings -> extensions -> configure smart-panel -> click on the top-right icon -> reload the smart-panel extension. You can also just end your session and log in again.

This makes the problematic "Workspace X" message to stop appearing.

@tcubano
Copy link

tcubano commented May 23, 2023

Thanks @pa-tiq , this works for me too.

@claudiux
Copy link
Member

Fixed by #464

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants