chatterino2 icon indicating copy to clipboard operation
chatterino2 copied to clipboard

Channel tabs not losing focus upon mouse leaving through window borders

Open 4164696f73 opened this issue 2 years ago • 3 comments

Checklist

  • [X] I'm reporting a problem with Chatterino
  • [X] I've verified that I'm running the most recent nightly build or stable release
  • [X] I've looked for my problem on the wiki
  • [X] I've searched the issues and pull requests for similar looking reports

Describe your issue

When you hover over a channel tab and unfocus via moving your cursor away through the top, tabs stay highlighted.

To expand on the issue a bit (if the above is hard to understand), if I hover over a tab, and then move my cursor up, on the yellow/orange border you see on the screenshot, tabs are indefinitely highlighted, even if I move my cursor back to Chatterino. This issue gets fixed upon re-hovering the tab and moving the cursor away in Chatterino window (e.g. to the sides or bottom). Needless to say, I expect the highlight to be removed when the mouse is not on the tab, doesn't matter how the mouse leaves the box.

If there are any limitations when it comes to fixing, just add some padding above the tabs, like a pixel or two and I assume it should fix itself.

PS: This has been irritating me for a while. I don't recall which version of Chatterino was my first, I assume something like 2.3.1, and it has been an issue ever since. Only today I managed to figure out how to reproduce it.

Screenshots

No response

OS and Chatterino Version

Chatterino Nightly 2.4.4 (commit 381d5c427 modified) built on 2023-08-19 with Qt 5.15.8 Running on KDE Flatpak runtime, kernel: 6.1.50-1-lts, running from Flatpak

4164696f73 avatar Sep 02 '23 17:09 4164696f73

Cannot replicate on 🅱️ indows

Felanbird avatar Sep 02 '23 18:09 Felanbird

Cannot replicate on 🅱️ indows

Not with the tabs, but with the window buttons at the top, I recall that these sometimes stayed in the hovered state, however, I don't have reproduction steps. I think I used to experience more often this when trying to refactor high-dpi handling (https://github.com/Chatterino/chatterino2/issues/4552#issuecomment-1512059270).

Nerixyz avatar Sep 02 '23 18:09 Nerixyz

Unable to reproduce on Linux with X11, i3. Maybe wayland issue?

Chatterino 2.4.6 DEBUG (commit [b217d2fae](https://github.com/Chatterino/chatterino2/commit/b217d2fae) modified) built with Qt 5.15.13
Running on Arch Linux, kernel: 6.6.23-1-lts

Mm2PL avatar Apr 03 '24 00:04 Mm2PL