Bug 363897 - "Focus follows mouse" policy should not close plasma applets/windows/dialogs when cursor leaves them
Summary: "Focus follows mouse" policy should not close plasma applets/windows/dialogs ...
Status: RESOLVED DUPLICATE of bug 336285
Alias: None
Product: plasmashell
Classification: Plasma
Component: general (show other bugs)
Version: 5.6.4
Platform: Ubuntu Linux
: NOR normal
Target Milestone: 1.0
Assignee: David Edmundson
URL:
Keywords: usability
Depends on:
Blocks:
 
Reported: 2016-06-03 14:32 UTC by Franco Pellegrini
Modified: 2021-03-11 18:38 UTC (History)
6 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Franco Pellegrini 2016-06-03 14:32:37 UTC
In my setup, I have configured the focus to follow my mouse, which I find very convenient when having an external monitor plugged in, and In the video visible in the "URL", you can see at 0:15 that when you have to move your mouse across an application to reach some applet (this also happens with the "Add new widget" that opens up in the left part of the screen) then the focus would change and the applet closes.

I understand this behavior when you have "Click to focus", however, when you are using an automatic focus policy (such as "Focus Follows Mouse"), I don't think plasma components should be affected.

I think applets should close if:

a) You click again whatever made it to open in the first place
b) Clicking outside of it (Unless the very useful "sticky" button is active for it)

Changing focus, should be ignored.

Reproducible: Always

Steps to Reproduce:
1. Configure your system to use an automatic focus change policy, such as "Focus Follows Mouse"
2. Have a window of any application open
3. Open a plasma applet, such as calendar
4. Move your mouse over the application window (Without clicking)

Actual Results:  
The plasma applet closes when the focus changes

Expected Results:  
The plasma applet to remain open
Comment 1 Alexander Mentyu 2017-11-27 12:56:04 UTC
This bug could be a wish.
There can be additional checkbox in 'Active Window Policy' module - like 'Do not close/retract/hide Plasma widgets if they lost focus' or something and it could be active on 'Focus Follow Mouse' choose (and further to the right side) - same as for 'Delay focus by' setting
Comment 2 Franco Pellegrini 2017-11-27 13:54:11 UTC
Sounds good to me!
Comment 3 Nate Graham 2021-03-10 02:13:53 UTC
*** Bug 431585 has been marked as a duplicate of this bug. ***
Comment 4 Nate Graham 2021-03-10 22:23:12 UTC

*** This bug has been marked as a duplicate of bug 336134 ***
Comment 5 Nate Graham 2021-03-11 18:31:31 UTC
Re-opening as technically this is a distinct issue from Bug 336134.
Comment 6 Nate Graham 2021-03-11 18:32:30 UTC
*** Bug 431585 has been marked as a duplicate of this bug. ***
Comment 7 Nate Graham 2021-03-11 18:37:38 UTC
Actually let's use Bug 336285 as the master report as it's older, already has duplicates, and has some developer discussion in it.

*** This bug has been marked as a duplicate of bug 336285 ***