blueman icon indicating copy to clipboard operation
blueman copied to clipboard

After 2.4, clicking the tray icon no longer minimizes the GUI.

Open roket1428 opened this issue 1 year ago • 5 comments

Since version 2.4 clicking the tray icon while blueman is visible doesn't minimize it, instead it makes already visible GUI active window. Is this behavior intentional? Downgrading to 2.3.5 reverts to the old behavior where clicking it minimizes the GUI.

blueman: 2.4.+ BlueZ: 5.75 Distribution: Artix Linux Desktop environment: dwm

I didn't provide any logs since it could be the intended behavior. (will provide if needed)

roket1428 avatar Apr 20 '24 12:04 roket1428

For consistency reasons this was changed back to how it was before. You can use the Ctrl + q and Ctrl + w keyboard shortcuts to close.

infirit avatar Apr 20 '24 14:04 infirit

Any chance of making this an option? I could make this an opt-in feature with a PR if there is any chance of merging it.

Obligatory: xkcd

roket1428 avatar Apr 21 '24 11:04 roket1428

I think the diff should be small enough (see #2122) that a GSettings setting does not hurt.

Why do you want it to hide the window? I do not really have an opinion on the behavior, but the wish to focus the already open window made sense to me for messy desktops.

cschramm avatar Apr 21 '24 13:04 cschramm

I think the diff should be small enough (see https://github.com/blueman-project/blueman/pull/2122) that a GSettings setting does not hurt.

Here is the PR: https://github.com/blueman-project/blueman/pull/2347

Why do you want it to hide the window? I do not really have an opinion on the behavior, but the wish to focus the already open window made sense to me for messy desktops.

I use a window manager, so I can't close windows with a mouse because windows doesn't have a button at the top right to close it, and since I'm using the mouse to interact with the tray icons, switching between keyboard and mouse instead of just using the mouse is much more convenient.

roket1428 avatar Apr 21 '24 17:04 roket1428

Perfectly reasonable as well. I'd even say focusing makes sense on non-tiling window managers and toggling makes sense on tiling ones (at least if they do not have close buttons) then. Ideally we'd detect the window manager and make the behavior depend on it. OK, I'm mostly kidding now. :see_no_evil:

cschramm avatar Apr 23 '24 13:04 cschramm