SavingGoogleCode / tint2

tint2 is a lightweight panel/taskbar.
GNU General Public License v2.0
0 stars 0 forks source link

AutoHide Option #77

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
I'm currently using Tint2 0.6, Wbar 1.3.3, PekWM 0.1.10 in Slax 5.1.8.1, 
and this combination is just great. One enhancement, that I think would be 
really nice, is if you could add an option to automatically hide the task 
bar after a few seconds and then make it appear again when you move the 
mouse to the border of the screen where Tint2 is located. Ideally Tint2 
would appear on top of any open window.
Thanks!

Original issue reported on code.google.com by proyecto...@gmail.com on 5 May 2009 at 7:20

GoogleCodeExporter commented 9 years ago

Original comment by thilo...@gmail.com on 11 May 2009 at 9:31

GoogleCodeExporter commented 9 years ago
I use tint2 on all of my machines with openbox. I've just purchased an ecp 
1000HE
with a display resolution of 1024x600 and an autohide option or a _shortcut_ to
show/hide tint2 will be realy cool.

Original comment by thelvyn.32@gmail.com on 31 Jul 2009 at 1:37

GoogleCodeExporter commented 9 years ago
I have also purchased an eeepc :)
so will try to get autohide in next released.

Original comment by thilo...@gmail.com on 31 Jul 2009 at 5:54

GoogleCodeExporter commented 9 years ago
an auto-hide feature would be very nice.

Original comment by grubbyfans on 6 Aug 2009 at 2:41

GoogleCodeExporter commented 9 years ago
I need to work on others project during 1 or 2 month.

after that, autohide and tint2conf are my priority.

Original comment by thilo...@gmail.com on 6 Aug 2009 at 3:37

GoogleCodeExporter commented 9 years ago
I just found tint2 today & fully agree with the last part of this post: I'm 
using a
pen-based system & find that fully maximized windows saves a lot of useless
clicking.. I'd love tint2 to always be on top of any full-screen maximized 
windows
(presently over my window titlebar). I suppose this is an openbox compatibility 
--
that it would register obconf's 'dock' choice. Maybe I'm not running the latest
openbox tho..

thanks for the good work on this project

Original comment by fadingd...@gmail.com on 9 Sep 2009 at 9:09

GoogleCodeExporter commented 9 years ago
What do you want to say with your post fadingdust? I do not get it, what it has 
to do
with the auto-hide option. There are three things in your post (if I understand 
it
right):
1) Tint2 should go into the dock of openbox, right? That is currently not 
possible,
but would save us, to introduce our own auto-hide and use the window-manager one
(openbox has an auto-hide option for its dock). One could introduce a command 
line
option to get tint2 into the window managers dock.

2) Tint2 should be always on top? Currently tint2 registers in the below layer 
of the
window manager. I do not like that either, but maybe we'll change that in the 
future
with a config option. What do you think about that thierry?

3) You want tint2 not stealing any space of your screen, but just appearing 
above
your windows, i.e. tint2 should be just above your windows, and the maximized 
windows
should take the full screen?

Correct me, if I understood something wrong. I think you want to have an auto 
hide
option, and if your pen reaches a specific region, you want tint2 to appear 
above
your windows, right?

@thierry: What if we add a config option to put tint2 into the window manager 
dock.
That would save us to implement features like autohide, always-on-top,
always-on-bottom, register as strut and so on. Jus let the window manager 
decide how
the dock should be handeled. One disadvantage is, that Openbox has only one 
dock, so
you cannot open two panels on the same screen with auto hide. And if the option 
is
not set to put it into the dock, than keep the behaviour as it is at the moment.
I could implement that, if you agree on that...

Original comment by Andreas.Fink85 on 10 Sep 2009 at 10:07

GoogleCodeExporter commented 9 years ago
Does window manager's dock save feature like autohide, top, bottom, struct, ...
I'm not sure because don't know exactly what is possible with dock.

Until now, I tried to keep tint2 consistent with fake transparency.
It mean when you put a window on top of tint2 and clic on tint2, then you don't 
have
tint2 fake transparency on top of your window.

I'm not sure the dock allow such behavior (leave window bottom even after clic).
and putting tint2 on top will raise the question "why transparency doesn't show
windows behind tint2 ?" :)

so, I'm open to add config option or using dock.
but we need to limit BAD behavior (specific to fake transparency) and give users
solutions to work around.

Original comment by thilo...@gmail.com on 10 Sep 2009 at 10:57

GoogleCodeExporter commented 9 years ago
Guys, I love the level of rationality behind your process/comments. 

@andreas: I was bouncing around #1 & #2. My personal end-goal (presently 
acheived
through the ugly lxpanel) is to have a maximized window, with tint2 overtop the
left-top window titlebar. I'm not an auto-hider. To do this within tint2 now 
requires
a removal of the the titlebar altogether & just using tint2. (hint hint: this 
could
be the beginning of a tiling WM :) )

Openbox dock allows for (using obconf) positioning (including absolute 
positioning),
orientation, auto-hide w/ delays, & 'stacking' (my concern, whether dock always 
above
or below windows).  

@thierry: within my ideas, the transparency ends up showing either the desktop 
or the
window title. Presently lxpanel shows the desktop. I'm ok with either, or both.
Sounds like a command-line config option, if the implementation is there. Not 
sure
what it takes to get the transparency you seek, short of xcompmgr (which likes 
to
freeze openbox for me).

Original comment by fadingd...@gmail.com on 10 Sep 2009 at 2:05

GoogleCodeExporter commented 9 years ago
Thanks fadingdust,

I don't want real transparency.
The comment is just to explain Andreas : "the choice to be always-on-bottom is 
to
hide limitation inherited from fake transparency". 
It's ok if you want to add 'always-on-top'.

Can we use dock instead of coding feature ? Not sure.
First, you have to check if 'dock' doesn't limit existing tint2 capability:
- leave window bottom even after clic on the panel
- tint2 is tested on gnome, xfce, openbox, fluxbox, pekwm.
  does the dock have consistent feature on those WM ?
- tint2 is aware of multi-monitor setting (like drawing bottom panel on both 
screen)
---------  ------------------
|       |  |                |
|       |  |                |
---------  |                |
           |                |
           |                |
           ------------------
   is it possible with 'dock' ?
- ... perhaps more

Original comment by thilo...@gmail.com on 10 Sep 2009 at 4:07

GoogleCodeExporter commented 9 years ago
@thierry: The dock has it's own background color so even if we would introduce 
real
transparency it would just show the dock color and not what is behind tint2 (and
openbox does not support a transparent dock).

I'm always using tint2 in the 'on-top' layer (changed it for me), and I'm never
confused, since I know that it only is fake transparency, but maybe others would
be... I prefer more that windows cannot cover my panel and have a fake 
transparency
over it, but this is just a matter of taste.

I think I will implement the possibility to put it into the dock, than people 
can do
with the dock whatever they like, and if the prefer like me a fake transparency 
but
always on top, then they should setup the dock to be always on top...

Original comment by Andreas.Fink85 on 10 Sep 2009 at 4:16

GoogleCodeExporter commented 9 years ago
right ;)

Original comment by thilo...@gmail.com on 10 Sep 2009 at 4:58

GoogleCodeExporter commented 9 years ago
Ok to cut a long story short: We now have the possibility to put tint2 into the 
dock.
But the default value is to keep it as it is at the moment.
panel_dock = 1
will add tint2 to the window managers dock (if your window manager has a dock 
at all...)
If your window manager does not have a dock: don't try to put it there ;)
For the openbox window manager I can advise to use also a modifier for the 
moveButton
option, otherwise the mouse click is not forwarded to tint2. I'm sorry but I 
can't
test more window managers or a multiple monitor setup, but I think that we'll 
see
with time what works and what does not work (and we cannot change it, since 
it's part
of the window manager)

So everybody who cannot live without an autohide option, try the dock method and
setup your dock for autohiding. Everybody who wants tint2 on-top just put it 
into the
dock and add your dock to the top layer.

@thierry: Should we close this issue or keep it open for our own auto-hide 
option?

Original comment by Andreas.Fink85 on 10 Sep 2009 at 5:29

GoogleCodeExporter commented 9 years ago
good.

I prefer to leave it open and let users give feedback...

Original comment by thilo...@gmail.com on 10 Sep 2009 at 6:47

GoogleCodeExporter commented 9 years ago
Personally I think proper auto-hide would be better. For example PeKWM does not 
have 
auto-hide for the Harbour (dock). Also there is the problem of having a 
congested 
dock: apart from Tint2 you may also want other apps, like audio controlers 
(volume, 
channel, etc.), system monitors, and the like... but you can only have one 
dock! 
(and as far as I know most windows managers are limited to one dock too).
Real transparency would be a VERY WELCOME bonus, but I can live without it.
So my vote is for Auto-Hide + Always-On-Top.

Original comment by proyecto...@gmail.com on 10 Sep 2009 at 10:05

GoogleCodeExporter commented 9 years ago
SVN r321 has it's own autohide option, and additionally you can select the layer
(bottom, normal, top) and real transparency is also supported...

Original comment by Andreas.Fink85 on 5 Jan 2010 at 8:51

GoogleCodeExporter commented 9 years ago
closing because everything implemented

Original comment by Andreas.Fink85 on 7 Jan 2010 at 9:36