cosmic-files icon indicating copy to clipboard operation
cosmic-files copied to clipboard

No hover animation on tabs in Cosmic Files

Open novinxy opened this issue 10 months ago • 3 comments

There is no hover effect on 'File', 'Edit', 'View', 'Sort' tabs.

By default it only works on button which minimalizes "hamburger menu" and buttons on right side of window (search, minimalize, etc.)

'File', 'Edit', 'View' and 'Sort' have hover but you need to first click any of those buttons. Later on it dissapears after unclicking.

Also button for hamburger menu does not ahere to 'round style' in settings I had configured

novinxy avatar Feb 15 '25 23:02 novinxy

mmm, this is exactly like things work on macOS, so I am not sure if this is bug or by design

https://github.com/user-attachments/assets/3ca95e7b-d052-4ef3-83f7-dfcf779560b4

l-const avatar Feb 19 '25 19:02 l-const

I think the current design choice makes sense. The menu-bar items in themselves are not executing/toggling anything like how all other buttons work. It only used to expand on options that performs some action

iamkartiknayak avatar Feb 22 '25 07:02 iamkartiknayak

It's really just a design choice with other COSMIC applications not just Cosmic Files. If you check in https://github.com/pop-os/cosmic-files/blob/7874f96ef18ea80acf665994ca782130725d86ef/src/menu.rs#L35 you'll see where the style was set to achieve what you propose you'll need to change the code from libcosmic itself.

Perhaps @jackpot51 might have a clearer view on this.

johnoye742 avatar Mar 06 '25 10:03 johnoye742