Solved OpenBox tint2 hiding/un-hiding problems

Greetings all,

I have a problem with auto-hiding tint2. The relevant portion of my tint2rc is
Code:
# Autohide setup
autohide = 1
autohide_show_timeout = 0.2
autohide_hide_timeout = 0.5
autohide_height = 5
The problems are that (i) the auto-hide does not follow the timeout settings - the panel shows for more than 2 seconds, and (ii) the panel un-hiding is inconsistent in that it takes more than the time variable and sometimes it takes several attempts to move the mouse in and out of the hidden panel pixels before the panel shows again.

Can this be a conflict with the rc.xml
Code:
<dock>
  <position>Bottom</position>
  <floatingX>0</floatingX>
  <floatingY>0</floatingY>
  <noStrut>yes</noStrut>
  <stacking>Above</stacking>
  <direction>Horizontal</direction>
  <autoHide>no</autoHide>
  <hideDelay>200</hideDelay>
  <showDelay>500</showDelay>
  <noStrut>no</noStrut>
</dock>

Kindest regards,

M
 
Hi
Here's an excerpt from my tint2 configuration:
#-------------------------------------
# Tooltip
tooltip_show_timeout = 0.5
tooltip_hide_timeout = 0.1
tooltip_padding = 2 2
tooltip_background_id = 5
tooltip_font_color = #222222 100
tooltip_font = sans 9

And in my Openbox rc.xml file, there's no <dock> configuration.
I don't have any problems with the timeout for hiding and showing.
 
Hi fernandel,

thank you for your reply. I did that several times, even - being influenced by Windows - rebooted the computer. But, is it now solved, please see answer to fjdlr below.

Hi fjdlr,

thank you for your reply.

In a meanwhile, I solved the problem in a cowardly manner by starting with somebody's configuration that was close to my idea, which worked. Then I kept modifying the configuration, and it still works. So, I do not know what the problem originally was. :(

Kindest regards,

M
 
Still nice of you to come back and let us know it was solved. By the way, if you have time, maybe you could post that working config, I'm sure someone will want to make use of it down the line. Not me, as I didn't get on this thread, as I like tint to stay visible, but I'm sure most people want the autohide.
 
Oups, error

My conf
#---- Generated by tint2conf adce ----
# See https://gitlab.com/o9000/tint2/wikis/Configure for
# full documentation of the configuration options.
#-------------------------------------
# Gradients
#-------------------------------------
# Backgrounds
# Background 1: Panel
rounded = 0
border_width = 1
border_sides = TBLR
border_content_tint_weight = 0
background_content_tint_weight = 0
background_color = #eeeeee 0
border_color = #bbbbbb 10
background_color_hover = #eeeeee 0
border_color_hover = #bbbbbb 10
background_color_pressed = #eeeeee 0
border_color_pressed = #bbbbbb 10

# Background 2: Tâche icônifiée, Tâche par défaut
rounded = 5
border_width = 1
border_sides = TBLR
border_content_tint_weight = 0
background_content_tint_weight = 0
background_color = #eeeeee 4
border_color = #cccccc 44
background_color_hover = #eeeeee 22
border_color_hover = #eaeaea 44
background_color_pressed = #dddddd 4
border_color_pressed = #eaeaea 44

# Background 3: Tâche active
rounded = 5
border_width = 1
border_sides = TBLR
border_content_tint_weight = 0
background_content_tint_weight = 0
background_color = #dddddd 4
border_color = #999999 100
background_color_hover = #eeeeee 22
border_color_hover = #999999 100
background_color_pressed = #dddddd 4
border_color_pressed = #999999 100

# Background 4: Tâche urgente
rounded = 5
border_width = 1
border_sides = TBLR
border_content_tint_weight = 0
background_content_tint_weight = 0
background_color = #aa4400 100
border_color = #aa7733 100
background_color_hover = #aa4400 100
border_color_hover = #aa7733 100
background_color_pressed = #aa4400 100
border_color_pressed = #aa7733 100

# Background 5: Infobulle, Lanceur
rounded = 2
border_width = 1
border_sides = TBLR
border_content_tint_weight = 0
background_content_tint_weight = 0
background_color = #99c1f1 100
border_color = #999999 100
background_color_hover = #ffffaa 100
border_color_hover = #999999 100
background_color_pressed = #ffffaa 100
border_color_pressed = #999999 100

# Background 6: Nom du bureau inactif
rounded = 2
border_width = 1
border_sides = TBLR
border_content_tint_weight = 0
background_content_tint_weight = 0
background_color = #eeeeee 4
border_color = #cccccc 30
background_color_hover = #eeeeee 22
border_color_hover = #999999 30
background_color_pressed = #dddddd 4
border_color_pressed = #999999 30

# Background 7: Nom du bureau actif
rounded = 2
border_width = 1
border_sides = TBLR
border_content_tint_weight = 0
background_content_tint_weight = 0
background_color = #dddddd 3
border_color = #999999 100
background_color_hover = #dddddd 3
border_color_hover = #999999 100
background_color_pressed = #dddddd 3
border_color_pressed = #999999 100

#-------------------------------------
# Panel
panel_items = LTSC
panel_size = 100% 40
panel_margin = 0 0
panel_padding = 4 2 4
panel_background_id = 1
wm_menu = 1
panel_dock = 0
panel_pivot_struts = 0
panel_position = bottom center horizontal
panel_layer = normal
panel_monitor = all
panel_shrink = 0
autohide = 1
autohide_show_timeout = 0.5
autohide_hide_timeout = 0.5
autohide_height = 2
strut_policy = follow_size
panel_window_name = tint2
disable_transparency = 0
mouse_effects = 1
font_shadow = 0
mouse_hover_icon_asb = 100 0 10
mouse_pressed_icon_asb = 100 0 0
scale_relative_to_dpi = 0
scale_relative_to_screen_height = 0

#-------------------------------------
# Taskbar
taskbar_mode = multi_desktop
taskbar_hide_if_empty = 0
taskbar_padding = 0 0 2
taskbar_background_id = 0
taskbar_active_background_id = 0
taskbar_name = 1
taskbar_hide_inactive_tasks = 0
taskbar_hide_different_monitor = 0
taskbar_hide_different_desktop = 0
taskbar_always_show_all_desktop_tasks = 0
taskbar_name_padding = 6 3
taskbar_name_background_id = 6
taskbar_name_active_background_id = 7
taskbar_name_font = sans Bold 9
taskbar_name_font_color = #ffffff 100
taskbar_name_active_font_color = #ffffff 100
taskbar_distribute_size = 1
taskbar_sort_order = none
task_align = left

#-------------------------------------
# Task
task_text = 1
task_icon = 1
task_centered = 1
urgent_nb_of_blink = 100000
task_maximum_size = 140 35
task_padding = 4 3 4
task_font = sans 8
task_tooltip = 1
task_thumbnail = 0
task_thumbnail_size = 210
task_font_color = #ffffff 100
task_icon_asb = 100 0 0
task_background_id = 2
task_active_background_id = 3
task_urgent_background_id = 4
task_iconified_background_id = 2
mouse_left = toggle_iconify
mouse_middle = none
mouse_right = close
mouse_scroll_up = prev_task
mouse_scroll_down = next_task

#-------------------------------------
# System tray (notification area)
systray_padding = 4 0 2
systray_background_id = 0
systray_sort = ascending
systray_icon_size = 22
systray_icon_asb = 100 0 0
systray_monitor = 1
systray_name_filter =

#-------------------------------------
# Launcher
launcher_padding = 0 0 2
launcher_background_id = 5
launcher_icon_background_id = 0
launcher_icon_size = 22
launcher_icon_asb = 100 0 0
launcher_icon_theme_override = 1
startup_notifications = 1
launcher_tooltip = 0
launcher_item_app = tint2conf.desktop
launcher_item_app = /usr/local/share/applications/xfce4-terminal.desktop
launcher_item_app = /usr/local/share/applications/claws-mail.desktop
launcher_item_app = /usr/local/share/applications/libreoffice-startcenter.desktop
launcher_item_app = /usr/local/share/applications/org.xfce.mousepad.desktop
launcher_item_app = /usr/local/share/applications/filezilla.desktop
launcher_item_app = /usr/local/share/applications/xsane.desktop
launcher_item_app = /usr/local/share/applications/nitrogen.desktop

#-------------------------------------
# Clock
time1_format = %H:%M
time2_format = %A %d %B
time1_font = sans Bold 8
time1_timezone =
time2_timezone =
time2_font = sans 7
clock_font_color = #ffffff 100
clock_padding = 1 0
clock_background_id = 0
clock_tooltip =
clock_tooltip_timezone =
clock_lclick_command = zenity --calendar --text ""
clock_rclick_command = orage
clock_mclick_command =
clock_uwheel_command =
clock_dwheel_command =

#-------------------------------------
# Battery
battery_tooltip = 1
battery_low_status = 10
battery_low_cmd = xmessage 'tint2: Battery low!'
battery_full_cmd =
bat1_font = sans 8
bat2_font = sans 6
battery_font_color = #ffffff 100
bat1_format =
bat2_format =
battery_padding = 1 0
battery_background_id = 0
battery_hide = 101
battery_lclick_command =
battery_rclick_command =
battery_mclick_command =
battery_uwheel_command =
battery_dwheel_command =
ac_connected_cmd =
ac_disconnected_cmd =

#-------------------------------------
# Tooltip
tooltip_show_timeout = 0.5
tooltip_hide_timeout = 0.1
tooltip_padding = 2 2
tooltip_background_id = 5
tooltip_font_color = #222222 100
tooltip_font = sans 9

Autohide value 0 or 1
autohide = 1
autohide_show_timeout = 0.5
autohide_hide_timeout = 0.5
autohide_height = 2
 
Hi scottro,

thank you for the kind words. The relevant portion of the configuration is:
Code:
autohide = 1
autohide_show_timeout = 0.0
autohide_hide_timeout = 0.5
autohide_height = 4
As you will be able to determine, the only difference is in change of some of the values, which makes the previous failure even more mysterious, especially considering the different values as presented by fernandel and fjdlr.

The hypothesis I can offer is that there might be another variable, e.g., in the rc.xml that was set differently. But this would be a question for an OpenBOX knowledgeable person.

Kindest regards,

M
 
Back
Top