Waybar icon indicating copy to clipboard operation
Waybar copied to clipboard

Tooltip Issue When Waybar is Positioned at Bottom

Open ashish-kus opened this issue 1 year ago • 13 comments

When Waybar is positioned at the bottom, tooltips sometimes do not appear.

Steps to Reproduce

  1. Position Waybar at the bottom.
  2. Hover over modules.

Expected Behavior: Tooltips should always appear.

Actual Behavior: Tooltips intermittently fail to appear.

config: https://0x0.st/XcAE.jsonc

ashish-kus avatar Jun 12 '24 14:06 ashish-kus

Experiencing this as well. I believe offending tooltips are "appearing" but below waybar and therefore not on the screen. (try runnign another instance of waybar and check the tooltops on that) This is also only happening to my tooltips that are at the end of modules-right, i.e. the ones close to the right side of my display.

shot-codes avatar Jun 13 '24 16:06 shot-codes

Same here, bottom module-right seems to open below and off screen on hyprland 0.41

GuillaumeGodin avatar Jun 13 '24 23:06 GuillaumeGodin

Same problem. Clock tooltip calendar show blow waybar, down out of the screen. If i run 3 waybar instance, I can see it. It should show above, not below if waybar is at bottom. 图片

milkpuff avatar Jun 20 '24 10:06 milkpuff

Hi there, am I understand correct all of you are using hyprland ? @ashish-kus , @shot-codes , @GuillaumeGodin , @milkpuff


Actually I'm mot able to reproduce this issue nor in sway neither in hyprland... I'd be appreciated for help to reproduce(config, css styling)

LukashonakV avatar Jun 20 '24 12:06 LukashonakV

Yes, archlinux and Hyprland. My config and css file: waybar.tgz @LukashonakV

milkpuff avatar Jun 20 '24 14:06 milkpuff

Yes, archlinux and Hyprland. My config and css file: waybar.tgz @LukashonakV

Unfortunately still not able reproduce

  1. Gentoo + Sway
  2. Fedora + hyprland
  3. Arch + hyprland

@milkpuff is there any chance you're using some additional gtk theme customizing ? for example

less ~/.config/gtk-3.0/settings.ini

LukashonakV avatar Jun 20 '24 14:06 LukashonakV

I suspect there is some specific user customizing leads to such behavior. At least I used 3 different environments (Gentoo, Arch, Fedora) with provided config + css and got nothing to reproduce the case.

  1. @milkpuff can you check waybar right from the source?
  2. @milkpuff can you check waybar using different environment (or virtual machine) ?

LukashonakV avatar Jun 20 '24 15:06 LukashonakV

@LukashonakV

` less ~/.config/gtk-3.0/settings.ini

[Settings] gtk-theme-name=Arc-Dark gtk-icon-theme-name=Adwaita gtk-font-name=Cantarell 11 gtk-cursor-theme-name=breeze_cursors gtk-cursor-theme-size=24 gtk-toolbar-style=GTK_TOOLBAR_BOTH gtk-toolbar-icon-size=GTK_ICON_SIZE_LARGE_TOOLBAR gtk-button-images=1 gtk-menu-images=1 gtk-enable-event-sounds=1 gtk-enable-input-feedback-sounds=0 gtk-xft-antialias=1 gtk-xft-hinting=1 gtk-xft-hintstyle=hintslight gtk-xft-rgba=rgb gtk-application-prefer-dark-theme=0 ` I tested some gtk theme, Breeze, Arc, Adapta. They all perform the same problem. I use archlinux + hyprland 0.41.1. Install waybar from aur and build, same problem.

I test manjaro hyprland 0.40, waybar runs no problem.

looks like new hyprland version lead to this

milkpuff avatar Jun 20 '24 17:06 milkpuff

I'm on hyprland/NixOS. My waybar config is here. Current Hyprland commit: fabc30df52ab5d2c369fc8acd4ff909a6ba3b8ac. gtk settings here which results in the following ~/.config/gtk-3.0/settings.ini:

[Settings]
gtk-cursor-theme-name=phinger-cursors
gtk-cursor-theme-size=24
gtk-theme-name=Materia-dark-compact

shot-codes avatar Jun 21 '24 09:06 shot-codes

This is fixed for me on hyprland 8a68199a0ceb2894a5d9cc300961c38123ac0312

shot-codes avatar Jun 24 '24 19:06 shot-codes

Hi @shot-codes , what is the repository for mentioned commit ? I don't see such commit in Waybar repository

LukashonakV avatar Jun 28 '24 18:06 LukashonakV

Sorry for not being more clear. The hash is for a hyprland commit. I am on waybar version 0.10.3. Currently on hyprland version 8a68199a0ceb2894a5d9cc300961c38123ac0312 and the issue is still resolved.

shot-codes avatar Jun 29 '24 09:06 shot-codes

I don't know but for me, it's not working.

ashish-kus avatar Jun 29 '24 17:06 ashish-kus

CR on this one still for me. tooltips are just not staying up at all, they keep shortly flickering on when first hovered but they won't show up consistently. Having issues with all tooltips for me except tray, literally only tray is fine for me to show tooltips. Version info:

Hyprland 0.46.0 built from branch main at commit b0bae15499ad57bbfeae8be958df8c022201e583  (master: make loop around optional when cycling (8926)).
Date: Sat Jan 4 16:40:33 2025
Tag: v0.46.0-73-gb0bae154, commits: 5628
built against:
 aquamarine 0.5.1
 hyprlang 0.6.0
 hyprutils 0.3.1
 hyprcursor 0.1.11
 hyprgraphics 0.1.1


no flags were set
~
Waybar v0.11.0-98-g9d9f1d68 (branch 'master') [This was also occurring on the standard as well as AUR git package for me however. Built with libcava and a few other supports.]

ninetailedtori avatar Jan 05 '25 19:01 ninetailedtori

I have this issue as well, but my Waybar is at the top. I'm on Arch with Sway. Reloading my config usually resolves it, but then it comes right back. I have another machine with Fedora and Sway with the same issue.

bcoutts avatar Mar 27 '25 05:03 bcoutts