acavedon / tint2

Automatically exported from code.google.com/p/tint2
GNU General Public License v2.0
0 stars 0 forks source link

tint2 has problems with Compiz #42

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. With Compiz & 4 Workspaces, tint2 doesn't work correctly. 

What is the expected output? What do you see instead?
I hope that tint2 works with compiz correctly.

What version of the product are you using? On what operating system?
tint; 0.6
OS; Ubuntu 8.10 
GUI; Gnome 2.24.1
Kernel 2.6.27-11-generic
Window manager; Compiz
Window decorator; Emerald

Please provide any additional information below.
tint2 has same tasks on all workspaces. Any panel options show same result.
If first workspace has 2 tasks and second workspace 1 task, tint2 of third
and four workspaces have no any task. But 3rd & 4th workspaces still show
3tasks. I try all panel options, single_desktop, multi_desktop, multi_monitor.
Also, if last window was terminated on any workspace, wheel behaviour of
mouse does not work and CPU usage has 100% for a while.
But tint2 has no problems with metacity.
Finally, I'm so sorry my poor English. And thanks for tint2 project.

Original issue reported on code.google.com by shahnst...@gmail.com on 29 Jan 2009 at 2:01

GoogleCodeExporter commented 9 years ago
shahnstyle,

if you can compile tint2 from source, you can try SVN version 
to check is the bug is already here...
tint was renamed tint2 so you can use both (tint and tint2) without conflict.

otherwise, i'll try it later

thanks.

Original comment by thilo...@gmail.com on 29 Jan 2009 at 4:23

GoogleCodeExporter commented 9 years ago
Hi, I noticed the original bug reporter stated he was on ubuntu. I am just 
chiming in
to say, I have set up a ubuntu launchpad ppa containing the latest svn builds.
Packages are automatically built every night(that is if there was a new commit).

The PPA is found here :  https://launchpad.net/~killeroid/+archive/ppa

The entries to add your your apt sources list are :

deb http://ppa.launchpad.net/killeroid/ppa/ubuntu intrepid main
deb-src http://ppa.launchpad.net/killeroid/ppa/ubuntu intrepid main

Original comment by kwakuyeb...@gmail.com on 30 Jan 2009 at 5:25

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
Thanks for advices. 
I compiled tint2 r29 from SVN, but still have same problems.
And I don't use and install tint of ubuntu synaptic. I only use tint2. 
Because poor English, I prepare screenshots of my desktop.
First screenshot is my first workspace of single mode tint2 (Bottom left is 
tint2,
right is ubuntu panel.)
4 tasks are running. Tint2 shows correct 4 tasks of first workspace.
Second screeenshot is my 2nd workspace. Ubuntu panel shows no task. 
But tint2 has still 4 tasks of first workspace. 3rd and 4th workspaces have same
problem. Thanks.

http://cfs13.tistory.com/original/28/tistory/2009/01/30/20/34/4982e5bfe0b27
http://cfs13.tistory.com/original/18/tistory/2009/01/30/20/34/4982e5c07ea34

Original comment by shahnst...@gmail.com on 30 Jan 2009 at 11:47

GoogleCodeExporter commented 9 years ago
perhaps it's just your config file $HOME/.config/tint2/tint2rc

the only reason I see is :
the default tint2 config use option taskbar_mode = multi_desktop
so tint2 panel show all your desktop and allow to drag and drop task between 
desktop.

to disable this feature use
taskbar_mode = single_desktop

Original comment by thilo...@gmail.com on 30 Jan 2009 at 1:26

GoogleCodeExporter commented 9 years ago
hummm, your sceenshot show just 1 taskbar, so it's not a problem in the config 
file.

can you post your config file, and I'll try to reproduce the problem.

thank

Original comment by thilo...@gmail.com on 30 Jan 2009 at 1:29

GoogleCodeExporter commented 9 years ago
#---------------------------------------------
# TINT CONFIG FILE
#---------------------------------------------

#---------------------------------------------
# BACKGROUND AND BORDER
#---------------------------------------------
rounded = 10
border_width = 1
background_color = #000000 45
border_color = #ffffff 0

rounded = 7
border_width = 0
background_color = #ffffff 20
border_color = #ffffff 15

rounded = 0
border_width = 0
background_color = #000000 35
border_color = #ffffff 0

#---------------------------------------------
# PANEL
#---------------------------------------------
panel_monitor = 1
panel_position = bottom left
panel_size = 0 30
panel_margin = 0 0
panel_padding = 9 2 7
font_shadow = 0
panel_background_id = 0

#---------------------------------------------
# TASKBAR
#---------------------------------------------
taskbar_mode = single_desktop
taskbar_padding = 3 3 0
taskbar_background_id = 1

#---------------------------------------------
# TASKS
#---------------------------------------------
task_icon = 0
task_text = 1
task_width = 160
task_centered = 1
task_padding = 2 2
task_font = sans bold 8
task_font_color = #ffffff 60
task_active_font_color = #ffffff 85
task_background_id = 0
task_active_background_id = 2

#---------------------------------------------
# SYSTRAY
#---------------------------------------------
#systray_padding = 9 3
#systray_icon_opacity = 50
#systray_background_id = 1

#---------------------------------------------
# CLOCK
#---------------------------------------------
time1_format = %A %d %H:%M
time1_font = sans bold 8
#time2_format = %A %d %B
time2_font = sans 7
clock_font_color = #ffffff 65
clock_padding = 6 0
clock_background_id = 1

#---------------------------------------------
# MOUSE ACTION ON TASK
#---------------------------------------------
mouse_middle = none
mouse_right = close
mouse_scroll_up = toggle
mouse_scroll_down = iconify

Original comment by shahnst...@gmail.com on 30 Jan 2009 at 2:00

GoogleCodeExporter commented 9 years ago
Thanks lorthi...@bbsoft.fr
Above comment is my config file of tint2 ($HOME/.config/tint2/tint2rc)
And I attach 2 more screenshot. I use same tint2 config file (=comment 6 
screenshots)
and 4 tasks. But window manager is metacity.
With metacity, I can't any problem of tint2 but my desktop is too miserable.

First screenshot is my first workspace (Bottom left is tint2, right is ubuntu 
panel.)
Second screeenshot is my 2nd workspace. Ubuntu panel shows no task also tint2 
has no
task. 

http://cfs13.tistory.com/original/24/tistory/2009/01/30/23/20/49830cc2682ab
http://cfs13.tistory.com/original/23/tistory/2009/01/30/23/20/49830cc30f505

Original comment by shahnst...@gmail.com on 30 Jan 2009 at 2:22

GoogleCodeExporter commented 9 years ago
I was able to reproduce this bug. With compiz enabled all windows are on one 
desktop,
with metacity they are on separate desktops correctly.
I'm using: taskbar_mode = multi_desktop
and 0.7svn.rev29-1 from your ubuntu repo.

Compiz:
http://www.flickr.com/photos/35133310@N00/3248609874/sizes/l/

How it should look with Metacity:
http://www.flickr.com/photos/35133310@N00/3247784657/sizes/l/

Original comment by traxxas@gmail.com on 2 Feb 2009 at 8:13

Attachments:

GoogleCodeExporter commented 9 years ago
@traxxas A new svn commit was made and I built the new package 0.7svn.rev30 in 
the
repo a few days ago. Thats the latest svn version. Update to that and check and 
see
if your bug wasnt fixed.

Original comment by kwakuyeb...@gmail.com on 2 Feb 2009 at 9:54

GoogleCodeExporter commented 9 years ago
0.7svn.rev30-1 still has the bug.  

Original comment by traxxas@gmail.com on 2 Feb 2009 at 10:18

GoogleCodeExporter commented 9 years ago
I think the problem stems from compiz using viewports instead of desktops.  
According
to compiz I have 1 desktop, and 2 horizontal viewports.  compiz is not letting 
my
make 2 desktops, the configuration will only accept 1 desktop.

Original comment by traxxas@gmail.com on 2 Feb 2009 at 10:47

GoogleCodeExporter commented 9 years ago
@traxxas good, I think you get it.

if you want to check the answer of compiz to _NET_NUMBER_OF_DESKTOPS,
open config.c, search 'void config_taskbar()'
and replace
      server.nb_desktop = server_get_number_of_desktop ();
with
      server.nb_desktop = server_get_number_of_desktop ();
      printf("desktop number %d\n", server.nb_desktop);

Original comment by thilo...@gmail.com on 3 Feb 2009 at 8:07

GoogleCodeExporter commented 9 years ago
This is not a bug, but has to do with how Compiz works.  Other panels (pypanel,
bmpanel) when used with Compiz behave the same way.  Compiz is set up by 
default to
have four "viewports" which are all on the same virtual desktop.

i.e. one cube is made up of four viewports, but the whole cube counts as one 
desktop.
 Compiz tells the panel all the windows on a desktop, including ones on a different
viewport (cube face).  That's why you see all your apps in the panel even when 
none
are visible.
I have Compiz set up with four virtual desktops and four viewports per desktop, 
so I
have 16 viewports total.  I'm no Compiz developer, or expert, but I thought I'd 
just
try to share what I've seen and maybe explain this better.

Original comment by Brian...@gmail.com on 4 Feb 2009 at 1:28

GoogleCodeExporter commented 9 years ago
thanks for the feedback.
don't have compiz here, but it looks like you can configure workspace (desktop) 
number.

"Open the Compiz Settings Manager with System -> Preferences -> Advanced Desktop
Effects Settings, and then click on General Options -> Desktop Size tab -> 
adjust the
number of workspaces".

Original comment by thilo...@gmail.com on 4 Feb 2009 at 9:21

GoogleCodeExporter commented 9 years ago
kwakuyeboah has documented this problem in the Wiki -> Faq

so I can close this one

thanks !

Original comment by thilo...@gmail.com on 11 Feb 2009 at 5:06

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
Most people don't use desktops with compiz, instead they just adjust the
virtual size. Most of the plugins, like desktop cube require the virtual size
preference, not the desktop size. 
If you set the number of desktops to let's say 4, you will get 4 cubes.
Unfortunately I don't know how is this solved in other panels (like 
gnome-panel, or
in kde), but as it stands, I don't think this problem is fixed...

It would be great if you could add support for viewports too, not just desktops.
Thanks

Original comment by szentand...@gmail.com on 10 Nov 2009 at 10:13

GoogleCodeExporter commented 9 years ago
Probably not possible, since compiz uses the "Large Desktop" feature... The 
problem
is, that the standard says, that a large desktop can be changed by arbitrary
positions. Compiz only allows a change by the screen size, but still there can 
be a
window manager out there wich allows to change the viewport arbitrarily, and 
then it
is unclear on which "desktop" we are...
Basically I consider this a problem of compiz and not tint2, since compiz makes 
an
assumption which is not mentioned by the standard and therefore I think it 
would be
stupid to start making exceptions in the source code...

Original comment by Andreas.Fink85 on 11 Nov 2009 at 7:45