bugdevilspie2 - Bugs: bug #50291, get_workspace_count always returns...

 
 

bug #50291: get_workspace_count always returns 1

Submitted by:  None
Submitted on:  Sun 12 Feb 2017 10:10:00 PM UTC  
 
Category: NoneSeverity: 3 - Normal
Item Group: NoneStatus: None
Privacy: PublicAssigned to: None
Open/Closed: Open

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Sun 12 Feb 2017 10:18:30 PM UTC, comment #1:

I'm the submitter for this bug. Please feel free to reach out to me if you have additional questions. I should have created the account before creating the bug. Sorry about that.

Kevin <wkmanire>
Sun 12 Feb 2017 10:10:00 PM UTC, original submission:

Context:

DevilsPie2 v0.39-v
Ubuntu 16.04.1
Unity 7.4.0

This is the package currently made available for Xenial in the us.archive.ubuntu.com repository.

Problem:

When I call get_workspace_count() from any Lua script executed by devilspie2 I always get a return value of 1. I have 4 workspaces enabled currently and am expecting to get a result of 4.

If I try to use set_window_workspace() to set an application's workspace to a workspace which I know to exist, in this case workspace 4, then I get the following error output.

$ devilspie2 --debug
Running devilspie2 in debug mode.

Using scripts from folder: /home/wkmanire/.config/devilspie2
------------
List of LUA files handling "window_open" events in folder:
/home/wkmanire/.config/devilspie2/telegram.lua
List of LUA files handling "window_close" events in folder:
------------

    • (devilspie2:2634): WARNING **: Workspace number 4 does not exist!

(devilspie2:2634): Wnck-CRITICAL **: wnck_window_move_to_workspace: assertion 'WNCK_IS_WORKSPACE (space)' failed

Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by wkmanire (Posted a comment)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    No Changes Have Been Made to This Item

    Back to the top


    Powered by Savane 3.1-cleanup1