Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tooltips Position Offset #3342

Closed
299792458ms opened this issue Jun 8, 2024 · 5 comments
Closed

Tooltips Position Offset #3342

299792458ms opened this issue Jun 8, 2024 · 5 comments

Comments

@299792458ms
Copy link

299792458ms commented Jun 8, 2024

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:

  • waybar v0.10.3
  • hyprland-git Tag: v0.40.0-161-gaf5f2492

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

@cooukiez
Copy link

cooukiez commented Jun 13, 2024

same issue here

@cooukiez
Copy link

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
Copy link

iSame issue here

@itsmenewbie03
Copy link

no updates on this yet?

@299792458ms
Copy link
Author

299792458ms commented Jun 26, 2024

no updates on this yet?

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants