After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 496830 - compiz workspace switcher integration patch
compiz workspace switcher integration patch
Status: RESOLVED OBSOLETE
Product: gnome-panel
Classification: Other
Component: workspace switcher
unspecified
Other Windows
: Normal normal
: ---
Assigned To: Panel Maintainers
Panel Maintainers
: 628147 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2007-11-14 19:45 UTC by Ray Strode [halfline]
Modified: 2020-11-06 20:24 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
the aforementioned patch (43.70 KB, patch)
2007-11-14 19:46 UTC, Ray Strode [halfline]
none Details | Review
new, simpler patch (4.20 KB, patch)
2008-06-26 10:59 UTC, drago01
none Details | Review

Description Ray Strode [halfline] 2007-11-14 19:45:48 UTC
We apparently had a patch in F7 to integrate the workspace switcher better with compiz and recently added it to F8 as an update.  See:

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

CCing Soeren, since I think he was the original author of the patch
Comment 1 Ray Strode [halfline] 2007-11-14 19:46:54 UTC
Created attachment 99106 [details] [review]
the aforementioned patch
Comment 2 Soren Sandmann Pedersen 2007-11-14 20:03:47 UTC
I believe the hsize/vsize configuration options were something else I patched into the FC6 version of compiz, so at the time this panel patch couldn't really be submitted upstream.
Comment 3 Ray Strode [halfline] 2007-11-14 20:21:54 UTC
Ah are those bits in upstream compiz now?
Comment 4 Vincent Untz 2007-11-14 20:46:25 UTC
I don't think this is the way we'll go. Let's just move the gconf keys about the number of workspaces and the number of rows in a stable place that compiz can use too. I don't want to have to do this again for another WM, and then another one, etc.. If a WM wants to integrate with GNOME, just use the stable gconf keys. (note that the number of workspaces is already stable in some way since it lives in /apps/metacity, iirc)
Comment 5 drago01 2007-11-14 22:42:27 UTC
(In reply to comment #3)
> Ah are those bits in upstream compiz now?
> 

yes upstream compiz seems to have them now. (we don't have any vsize/hsize related patches in the f7/8 rpms)

(In reply to comment #4)
> I don't think this is the way we'll go. Let's just move the gconf keys about
> the number of workspaces and the number of rows in a stable place that compiz
> can use too. I don't want to have to do this again for another WM, and then
> another one, etc.. If a WM wants to integrate with GNOME, just use the stable
> gconf keys. (note that the number of workspaces is already stable in some way
> since it lives in /apps/metacity, iirc)
> 

there is one problem with this compiz does support both viewports _and_ workspaces. So I am not sure how this should work.
Comment 6 Vincent Untz 2007-11-15 07:41:42 UTC
(In reply to comment #5)
> (In reply to comment #4)
> > I don't think this is the way we'll go. Let's just move the gconf keys about
> > the number of workspaces and the number of rows in a stable place that compiz
> > can use too. I don't want to have to do this again for another WM, and then
> > another one, etc.. If a WM wants to integrate with GNOME, just use the stable
> > gconf keys. (note that the number of workspaces is already stable in some way
> > since it lives in /apps/metacity, iirc)
> > 
> 
> there is one problem with this compiz does support both viewports _and_
> workspaces. So I am not sure how this should work.

I have never seen anybody using both at the same time. I don't think I ever saw anybody using compiz with workspaces.

Anyway, that's up to compiz to internally decide if it wants to use viewport or virtual desktops. For the end user, it's still about workspaces. The gconf key would only tell you about the number of workspaces and the layout, and doesn't force the WM to use virtual desktops.
Comment 7 drago01 2008-06-26 10:59:05 UTC
Created attachment 113453 [details] [review]
new, simpler patch

The attached adds the compiz support in a different way then the old one.
It reuses the existing UI (so no glade file changes and new strings), is multiscreen aware (the old one had screen0 hardcoded) and uses the already existing compiz check. While at it I fixed it to detect compiz correctly (its wm-name is "compiz" not "Compiz").
Thoughts?
Comment 8 Robert Ancell 2010-06-03 06:25:09 UTC
This has been used in Ubuntu for ages, ok to apply the patch?
Comment 9 Vincent Untz 2010-06-03 10:25:43 UTC
It's not the right way to implement this.

wm_get_workspace_count() is wrong, for example:
 - it won't work if compiz doesn't use its gconf plugin
 - it should be fixed in libwnck

Same for num_workspaces_value_changed(): what happens if gconf doesn't use the gconf plugin?
Comment 10 Vincent Untz 2010-09-06 11:42:15 UTC
*** Bug 628147 has been marked as a duplicate of this bug. ***
Comment 11 André Klapper 2020-11-06 20:24:41 UTC
bugzilla.gnome.org is being replaced by gitlab.gnome.org. We are closing all old bug reports in Bugzilla which have not seen updates for many years.

If you can still reproduce this issue in a currently supported version of GNOME (currently that would be 3.38), then please feel free to report it at https://gitlab.gnome.org/GNOME/gnome-panel/-/issues/

Thank you for reporting this issue and we are sorry it could not be fixed.