Alexays / Waybar

Highly customizable Wayland bar for Sway and Wlroots based compositors. :v: :tada:
MIT License
6.38k stars 696 forks source link

Tooltips Position Offset #3342

Closed 299792458ms closed 3 months ago

299792458ms commented 3 months ago

Are tooltips by default offset to the right of the center of the corresponding module now? I just changed my colorscheme and nothing else really. I tested all tooltips and all of them has this behaviour.

Anyway I wanted to know if could be and issue from my end(maybe something related to gtk themes?) and if someone has run into the same issue(yes I did search the issue section). Or maybe there is a way to style the tooltip to set an offset? It really seems like I messed something up so if anyone knows what could it be I would really appreciate it.

Below are the pictures, their relevant config sections and some info

screenshot2 2024-06-08-183854_hyprshot

// config.jsonc

   "clock": {
        "tooltip-format": "<tt><small>{calendar}</small></tt>",
        "format-alt": "{:%Y-%m-%d}",
        "calendar": {
            "mode"          : "month",
            "on-scroll"     : 1,
            "format": {
                "months":     "<span color='#CDD6F4'><b>{}</b></span>",
                "days":       "<span color='#CDD6F4'><b>{}</b></span>",
                "weeks":      "<span color='#F9E2AF'><b>W{}</b></span>",
                "weekdays":   "<span color='#F9E2AF'><b>{}</b></span>",
                "today":      "<span color='#F38BA8'><b><u>{}</u></b></span>"
            }
        },
        "tooltip": true
    }
/* style.css*/

tooltip {
    color: #d8dee9;
    background-color: @bg;
    text-shadow: none;
    border: solid 2px @fg;
}

Versions:

EDIT: This only happens with this specific version of Hyprland from the AUR.

cooukiez commented 3 months ago

same issue here

cooukiez commented 3 months ago

I'm not sure if this has something to do with this commit #3195, because it changed some mouse entering behavior in src/AModule.cpp. But I don't really know the codebase, so this is just an assumption. There are also other commits which are about mouse behavior / tooltip format #3213 but I'm not sure if they're relevant.

dantearaujo1 commented 3 months ago

iSame issue here

itsmenewbie03 commented 3 months ago

no updates on this yet?

299792458ms commented 3 months ago

no updates on this yet?

It is fixed in Hyprland v41.2 Arch Extra Repo.