Comment 4 for bug 787934

Revision history for this message
rodrigo ahumada (rodahummont) wrote :

i have xubuntu 11.04, and i hade the same problem:

- i start with 4 workspaces
- then i open the configuration dialog and add 2 more workspaces
- then i logout
- after one or two logins/logouts, thw workspace count goes back to 4

looking up in the xfwm4.xml i found this:
...
<property name="workspace_count" type="int" value="4"/>
    <property name="workspace_names" type="array">
      <value type="string" value="1"/>
      <value type="string" value="2"/>
      <value type="string" value="3"/>
      <value type="string" value="4"/>
      <value type="string" value="5"/>
      <value type="string" value="6"/>
    </property>
....

so, is only the property "workspace_count" that has problems, i can edit this file by hand an set it to 6 but after some logins, it comes back to 4.

also, i'v downloaded xfmw4-4.8.0 source code (from the xfce4 site), and compiled the executable (i added some logging messages to see where the "workspace_count" property is being read).

i've found that in the case when i login and the property goes from 4 to 6, the callback cb_xfwm4_channel_property_changed() is called many times after initSettings(), with different values for property workspace_count, jumping from 4 to 6, to 4 again (i've counted almost 26 calls), and the last one set the workspace_count to 4.

so, maybe the bug is in xfconfd or something...

excuse my english