FS#17467 - [tint2] doesn't work with openbox 3.4.8-1

Attached to Project: Community Packages
Opened by Mike Dill (Theoden) - Friday, 11 December 2009, 16:46 GMT
Last edited by Andrea Scarpino (BaSh) - Sunday, 13 December 2009, 17:54 GMT
Task Type Bug Report
Category
Status Closed
Assigned To Andrea Scarpino (BaSh)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description: Following the recent openbox upgrade from version 3.4.7.2-4 to 3.4.8-1 , tint2 does not work correctly. In the older version of openbox, when you set tint2 to show multi-desktops (all pager desktops), it did so with some padding between them. After upgrading openbox, tint2 cannot and does not show the multi-desktops - it only shows one (1) desktop. I downgraded openbox to version 3.4.7.2-4 and it works properly again. It could be upstream, but openbox's upgrade broke tint2.


Additional info:
* package version(s)

Openbox = old version 3.4.7.2-4
Openbox = new version 3.4.8-1
Tint2-svn = 283-1 (from the aur)

* config and/or log files etc.

"attached"

Steps to reproduce:

Install openbox 3.4.7.2-4
Install tint2-svn from the aur
configure tint2 to use multi-desktops - set to 4 here
Start openbox - will show 4 distinct desktops in the taskbar.

Now upgrade openbox to 3.4.8-1
Start openbox - will only show one desktop.

Now downgrade openbox to 3.4.7.2-4 again
Start openbox - will show 4 distinct desktops in the taskbar.
   tint2rc (2.4 KiB)
This task depends upon

Closed by  Andrea Scarpino (BaSh)
Sunday, 13 December 2009, 17:54 GMT
Reason for closing:  Fixed
Additional comments about closing:  openbox 3.4.8-2
Comment by Andrea Scarpino (BaSh) - Friday, 11 December 2009, 17:31 GMT
works for me. did you build tint2-svn with openbox 3.4.8 installed?
Comment by Mike Dill (Theoden) - Friday, 11 December 2009, 17:44 GMT
No I didn't.
Comment by Andrea Scarpino (BaSh) - Friday, 11 December 2009, 17:46 GMT
Try.
Anyway tint2 from [community] with your config works here too
Comment by Mike Dill (Theoden) - Friday, 11 December 2009, 17:59 GMT
Ok - I removed tint2-svn.
I installed tint2 from community.
I upgraded openbox to the latest.
Same problem. It does not display the 4 desktops.
Comment by Mike Dill (Theoden) - Friday, 11 December 2009, 19:10 GMT
Ok - new information:
I installed fbpanel 5.6-1 in Openbox 3.4.8-1
fbpanel can only see one desktop as well - even though it is set to see all 4.
When I downgrade openbox to version 3.4.7.2-4 - it works fine and shows all 4 desktops.

What I conclude from this is that it is something in the latest openbox that is not working properly. It only seems to see one desktop.

When I use CTL-ALT-RIGHT to access a 2nd desktop - it's not there. Openbox just does not see them even without a panel app running.

Something's wrong in the new openbox.
Comment by Andrea Scarpino (BaSh) - Friday, 11 December 2009, 19:13 GMT
I can't replicate here. try with a clean configuration (backup, then remove your files into ~/.config/openbox)
Comment by Mike Dill (Theoden) - Friday, 11 December 2009, 20:21 GMT
Well - I did the following:

Removed openbox completely.
Backed up my ~/.config/openbox files and removed the directory.
Installed the latest openbox.
Started it up with tint2.
No go - still can see only one desktop.
Started it with fbpanel.
No go - still can see only one desktop.

Downgraded openbox again.
Started it with both tint2 and fbpanel.
Everything works fine again.

Can't understand why you cannot replicate - but it's real here.
Comment by Andrea Scarpino (BaSh) - Friday, 11 December 2009, 20:24 GMT
maybe I didn't get your point here, can you attach the screenshots? thanks
Comment by Mike Dill (Theoden) - Friday, 11 December 2009, 20:40 GMT
Here they are - the names explain what you are seeing.
Comment by Andrea Scarpino (BaSh) - Friday, 11 December 2009, 20:56 GMT
see mine with your config
Comment by Mike Dill (Theoden) - Friday, 11 December 2009, 20:58 GMT
Well - I'm completely stumped. You can clearly see that I have this problem. I cannot figure it out. :/
Comment by Andrea Scarpino (BaSh) - Friday, 11 December 2009, 21:00 GMT
I still think there is some problem in your ob configurations files, try:
# pacman -S openbox tint2
$ mv ~/.config/openbox ~/openbox_backup
$ cp -r /etc/xdg/openbox ~/.config/
$ startx
Comment by Mike Dill (Theoden) - Friday, 11 December 2009, 21:02 GMT
Unfortunately, I did that.
Comment by Mike Dill (Theoden) - Friday, 11 December 2009, 21:19 GMT
Ok - just to be thorough - I followed your instructions to the 'T' - and the problem is still there.
Comment by Mike Dill (Theoden) - Friday, 11 December 2009, 22:30 GMT
Thought perhaps this might help: http://bugzilla.icculus.org/show_bug.cgi?id=4040

"Adam Spiers 2009-04-12 10:59:45 EDT
Created an attachment (id=2036) [details]
Patch from openbox-3.4.7.2-7.fc10.src.rpm

The window manager only has one workspace titled "Workspace 1" if logged in
through GDM using the Openbox or GNOME/Openbox or KDE/Openbox sessions.
Openbox won't respect the number of workspaces or their names in
~/.config/openbox/rc.xml.

This has been discovered and fixed downstream by Red Hat; please see this bug
for full details:

https://bugzilla.redhat.com/show_bug.cgi?id=444135

However I have reproduced exactly the same issue and successfully used the same
fix on a SUSE Linux Enterprise Desktop 11 system. Therefore please consider
applying the patch upstream"
Comment by Mike Dill (Theoden) - Friday, 11 December 2009, 22:44 GMT
Andrea:

Based on information in my last comment to you - it appears that the problem is the new openbox and gdm. If you are starting openbox with gdm (I was), it spawns an instance of metacity and this causes the new openbox to fail to honor the number of desktops specified in it's config file. The 3.4.7.2-4 version of openbox did not do this.

I disabled gdm in /etc/rc.conf - and started openbox-3.4.8-1 with startx, and it works correctly. SO - the problem IS the new openbox IF started with gdm.

--Mike
Comment by Andrea Scarpino (BaSh) - Friday, 11 December 2009, 22:46 GMT
Yes I applied that patch to 3.4.7.2 but I thought this was fixed in 3.4.8. I'll re-apply it ASAP.
Comment by Mike Dill (Theoden) - Friday, 11 December 2009, 22:47 GMT
Great! Thank you very much. I guess we have this one sorted out then?
Comment by Andrea Scarpino (BaSh) - Friday, 11 December 2009, 22:47 GMT
yes you did ;)
Comment by Mike Dill (Theoden) - Saturday, 12 December 2009, 16:12 GMT
Just to further prove the case - I installed SLiM as a login manager and tested it with the new openbox. Works perfectly. GDM and the latest Openbox are clearly the issue.

Loading...