Bug 3389 - Compiz-Fusion-Icon: Problems with starting and virtual desktops
Summary: Compiz-Fusion-Icon: Problems with starting and virtual desktops
Status: RESOLVED WONTFIX
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: 1
Hardware: All Linux
Priority: Normal normal
Target Milestone: ---
Assignee: Julien Moragny
QA Contact:
URL:
Whiteboard:
Keywords: Triaged
Depends on:
Blocks:
 
Reported: 2011-11-19 15:03 CET by David Batson
Modified: 2012-02-25 19:20 CET (History)
1 user (show)

See Also:
Source RPM: fusion-icon-0.1-2.2.mga1
CVE:
Status comment:


Attachments
/home/~/.xsession-errors (20.97 KB, application/octet-stream)
2011-11-20 14:18 CET, David Batson
Details

Description David Batson 2011-11-19 15:03:02 CET
Description of problem:
1st: Does not automatically start on log in.
2nd: When starting from the menu, get bouncing icon for some seconds even after icon appears on the taskbar.
3rd: Virtual desktops widget only shows 1 desktop although 4 are available.  If log out/log in, then 4 desktops are shown on the desktops widget, but when moving between desktops with ctrl-alt-arrow the highlighted desktop never changes to show which desktop you are actually on. Clicking on one of the 4 desktop icons on the widget can change desktops as well, but they seem to be different desktops than the ones chosen with ctrl-alt-arrow.

Version-Release number of selected component (if applicable):
fusion-icon-0.1-2.2.mga1

How reproducible:


Steps to Reproduce:
1. Launch Compiz Fusion Icon from menu
2.
3.
Comment 1 Manuel Hiebel 2011-11-19 16:11:22 CET
Hi, thanks for reporting this bug.
Assigned to the package maintainer.

(it's not an upstream ?)

Keywords: (none) => Triaged
Assignee: bugsquad => julien.moragny

Comment 2 Julien Moragny 2011-11-19 16:24:41 CET
Hi,

what is your desktop environment (DE) ? (KDE, Gnome, xfce, LXde, other ?)

For the 1st point you need to explicitely add it to the autostart of your session (see the conf panel of your desktop environment)

For the 2nd point, I'm not sure Iunderstand but it seems this is a problem with the launch indicator. If so, I can't do anything, it depend of your specific DE.

for the third point, it's not related to compiz fusion icon but probably to compiz itself or your DE. compiz fusion icon is just a graphical launcher for compiz.
Comment 3 David Batson 2011-11-20 01:50:24 CET
I am using KDE in Mageia 1.  Fully up to date atm.

I tried adding it to /home/~/.kde4/Autostart a couple of ways.

# compiz --replace
As at the bottom of this miniwiki: http://www.kubuntu.org/doc/7.10/config-desktop/C/tips.html

And

$ ln -s /usr/bin/fusion-icon ~/.kde/Autostart/fusion-icon
as per: https://wiki.archlinux.org/index.php/Compiz#Autostart_.28with_.22fusion-icon.22.29

Regarding the 2nd point, the desktop disappears then reappears in about 5 seconds after clicking on the compiz fusion icon from the menu.  At this point I believe compiz is active, yet there is a different icon on the taskbar that has a rotating indicator for about 25 seconds along with a mini bouncing compiz-fusion icon, then they both disappear.

The compiz fusion icon does more than just launch compiz. You can reload the window manager, choose: Compiz, KWin, or IceWM; select the GTK or KDE4 window decorator; launch the Settings Manager (CCSM), as well as select a couple of compiz options.
Comment 4 David Batson 2011-11-20 03:15:53 CET
More info regarding the 3rd point.

I found out what the virtual desktop widget is called in KDE4 - pager.

I can get pager to show 4 virtual desktops and by clicking on one of these desktops, the desktop changes. If I open something on another desktop, say desktop 2 from pager, then rotate the compiz cube (which also has 4 desktops), what I opened does not show up on any face of the compiz cube. Yet if I change desktops in pager the opened item will appear on desktop 2.

Likewise, if I open something on facet 2 of the compiz cube, it does not show up on any of the desktops of pager.

It seems that I have 2 different virtual desktop managers running - each with its own set of virtual desktops.  Perhaps I ought to just remove the pager widget...

I agree this is an issue of compiz and not the compiz-icon per se.
Comment 5 David Batson 2011-11-20 03:37:34 CET
Just solved the last issue regarding virtual desktops.

magesha wrote:
"Now, everything seems to be working fine. I have four desktops in both KDE (right click on pager >configure virtual desktops) and one in compiz (ccsm > general options > Desktop size > number of desktops) but curiously ccsm > general options > Desktop size > Horizontal Desktop size is 4!! Somehow, with this setup everything works fine."

http://www.pclinuxos.com/forum/index.php/topic,77551.msg639387.html#msg639387
Comment 6 David Batson 2011-11-20 04:50:42 CET
Got autostart working from a post by Hlingler on Fedora forums.  Create text file as root /home/~/.kde4/Autostart/fusion-icon.desktop with the following contents.

[Desktop Entry]
 Comment=
 Comment[en_US]=
 Encoding=UTF-8
 Exec[$e]=fusion-icon
 GenericName=
 GenericName[en_US]=
 Icon=exec
 MimeType=
 Name=fusion-icon
 Name[en_US]=fusion-icon
 Path[$e]=
 StartupNotify=true
 Terminal=false
 TerminalOptions=
 Type=Application
 X-DCOP-ServiceType=
 X-KDE-SubstituteUID=false
 X-KDE-Username=V

http://forums.fedoraforum.org/showpost.php?p=1038293&postcount=12

Still have a little problem with pager.  On reboot it only showed 1 desktop. I found if I "Add Virtual Desktop" to pager, then 5 desktops appear.  Then if I "Remove Last Virtual Desktop" I am back to 4.  Little kludgy, but it seems to work.
Comment 7 Julien Moragny 2011-11-20 14:10:33 CET
You could also have used the .desktop file provided by fusion-icon :
/usr/share/applications/fusion-icon.desktop

Glad you have solved your problem. :)

Yes, virtual desktop with compiz are not the same as virtual desktop from KDE (or other FWIW). 
On xfce, I'm using one "xfce" virtual desktop and 2 compiz virtual desktop and it works correctly.

For the rotating indicator, it's a feature of KDE, you can set the delay in the conf panel (in notification/launch feedback).
Comment 8 David Batson 2011-11-20 14:18:25 CET
Created attachment 1090 [details]
/home/~/.xsession-errors

I deleted my .xsession-errors file, then rebooted.  Here is what is in .xsession-errors after a reboot and fusion-icon starting automatically from ~/.kde4/Autostart.  Note that I have my touchpad disabled and am using the pointing stick exclusively which probably accounts for the /dev/input/eventX errors.

Primarily I would like to solve the issue of fusion-icon creating an icon on the task bar with a spinning dial for 25 seconds or so after the fusion-icon appears.  It seems to me that it is trying to load something but failing - yet the fusion-icon does load and work.
Comment 9 David Batson 2011-11-20 18:53:51 CET
For the rotating indicator, it's a feature of KDE, you can set the delay in the
conf panel (in notification/launch feedback).

Ok, but other applications do not use up the full 30 seconds of notification time when they launch.  Appearance-wise, it seems that fusion-icon is not fully loading and the notification timer just runs out.  Isn't that the purpose of launch feedback - to notify when an application is fully loaded?
Comment 10 Marja Van Waes 2012-02-25 17:44:44 CET
Pinging, because nothing has happened with this report for more than 3 months, it still has the status NEW or REOPENED.

@ Julien

Please set status to ASSIGNED if you think this bug was assigned correctly. If for work flow reasons you can't do that, then please put OK on the whiteboard instead.

CC: (none) => marja11

Comment 11 Julien Moragny 2012-02-25 18:51:26 CET
There is nothing more I can do for this bug, the spinning icon is related to KDE and I can't do anything to fix that. So I will close it as wontfix.

Status: NEW => RESOLVED
Resolution: (none) => WONTFIX

Comment 12 David Batson 2012-02-25 19:20:40 CET
The spinning icon was just one of the problems.  The other problem is how it interacts with KDE's pager.

To get it to work right, after every reboot/login I have to open the Compiz Settings Manager and change the number of horizontal desktops to 4.  Next I have to open pager and set the number of desktops to 1.  These settings never stick through a logout/login or reboot.

Note You need to log in before you can comment on or make changes to this bug.