hluk / hluk/CopyQ

Can't remove hover effect on items via CSS

Open
#2,594 0 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
C++
Stars
12.3k
Forks
593
Avg merge
2d 8h
Merged PRs (30d)
9

Description

**Describe the bug**
I can't figure out how to remove the hover effect on items (see screenshots below).

I thought I could achieve this with the configuration option `hover_item_css` in `copyq.conf`, but setting it to `""`, `"\n ;background: transparent"` or even `"\n ;color: #f0f"` (for testing purposes) does not change anything visually. Maybe I just don't understand what that option is supposed to change in the first place.

**To Reproduce**
Steps to reproduce the behavior:
1. Modify `hover_item_css` in `copyq.conf`
2. Try to observe the change visually

**Expected behavior**
I would expect to be able to change the CSS applied to items on hover with `hover_item_css`, in my case to just remove any hover effect.

**Screenshots (of hover effect)**
When hovering over non-selected item:
![image](https://github.com/hluk/CopyQ/assets/85450899/9d6a68a5-f8d1-4719-a0f2-db80d6f14c5a)
When hovering over selected item:
![image](https://github.com/hluk/CopyQ/assets/85450899/7315e162-6de6-4d8c-9a69-366f83aa6223)

**Version, OS and Environment**
- Application Version: 7.1.0 ([Nixpkg from 23.11 channel](https://github.com/NixOS/nixpkgs/blob/nixos-23.11/pkgs/applications/misc/copyq/default.nix))
- Qt Version: 6.6.1
- Compiler: GCC
- Arch: x86_64-little_endian-lp64
- OS: NixOS 23.11 (Tapir)
- Wayland Compositor: Hyprland

**Additional context**
[My CopyQ config as of writing this](https://github.com/julius-boettger/dotfiles/blob/e1ac24d7140ab712b190f1b631b6571fdd201332/copyq.conf)

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.