Fluor icon indicating copy to clipboard operation
Fluor copied to clipboard

Fluor works incorrectly after resuming system from sleep

Open amjd opened this issue 8 years ago • 9 comments
trafficstars

I use Fluor with the default mode set to media keys. I have set function keys to be enabled for certain applications. Sometimes when I resume my laptop from sleep the Fluor indicator shows media keys as enabled when, in fact, function keys are. Has anyone else come across this problem?

amjd avatar Aug 04 '17 08:08 amjd

I have come across this problem as well. Every time I resume my MBP from sleep, the function keys are set to the function behavior, rather than the media key behavior which is my default. I only have three rules for applications which set the function keys to the function behavior (Citrix Viewer, Excel, Powerpoint).

mattparmett avatar Aug 05 '17 14:08 mattparmett

I think this problem occurs because Fluor toggles the behaviour based on the application and sometimes it fails to toggle it back or it is reset somehow.

Case in point, when this incorrect behaviour sets in, the applications that are supposed to use media keys use function keys and vice versa. Adding a check to see what is the current mode should help fix this. Unfortunately, I have never worked on Swift / macOS app development or I would have tried to contribute a fix.

CC @Pyroh

amjd avatar Aug 08 '17 06:08 amjd

+1 After MBP wakeup I always toggle disable\enable button to make Fluor works.

bordi avatar Aug 30 '17 10:08 bordi

The strange thing is that I use Fluor on a daily basis and never experienced such a bug. I mainly use it for VMWare and Eclipse and my MBPr often goes to sleep with these apps active and the problem you describe doesn't occur.

Could you please be more specific on which app you use, OS version and anything you find useful ?

Pyroh avatar Oct 07 '17 11:10 Pyroh

I'm having similar issue, after switching an account or after restart, Fluor switches back to functional keys, ignoring the settings. Simple change in 'Switching' mode or 'Default' fixes that.

macOs High Sierra, version 10.13 MacBook Pro (Retina, 15-inch, Mid 2015)

alek-sys avatar Oct 07 '17 11:10 alek-sys

My default is set to media keys. I have the following apps set to use function keys:

  • Citrix Viewer
  • Microsoft Office (Excel, Word, Powerpoint)

Other apps I use on a frequent basis and often have open across sleep/logins are Safari, Spotify, Airmail, Messages, Notes.

macOS High Sierra, version 10.13; however this issue also occurred on Sierra. MacBook Pro (13-inch, 2016, Two Thunderbolt 3 ports)

My preferences are set to the following, I have default mode set to media and reset mode on quit set to media as well.

screen shot 2017-10-07 at 8 39 05 am

mattparmett avatar Oct 07 '17 12:10 mattparmett

Any updates on this issue? The behaviour mentioned in the previous posts is still present in Fluor 1.2beta. Every time I resume my MBP from sleep the function keys are active. I have set the default mode to media keys and there are no rules defined which could override this setting.

LarsBauer avatar Feb 08 '18 17:02 LarsBauer

I'm currently working on Fluor's behaviors core and I try to reproduce the bug but I can't. I think it's because I don't really understand how it happens in practice. Can someone provide steps to reproduce please ? I expect something like that (something I actually tried appart from the part that it actually worked as expected) :

  1. I set Safari to use functions keys
  2. I close the lid of my MBP, Safari's still the key application
  3. I open the lid
  4. I log into my session
  5. Safari is still set to use function keys but actually uses media keys

It will help a lot, thanks 👍

Pyroh avatar Mar 10 '18 09:03 Pyroh

That is the process that reproduces the bug. While this previously happened more frequently for me, it now only happens intermittently which makes it difficult to reliably reproduce.

Maybe it has something to do with which apps are set to use function keys? For example - I have Citrix Receiver and Microsoft Office set to use function keys. All other apps, including Safari, are set to media.

Or, maybe it is an interaction with other apps? The only other keyboard app I have running is ShortStop, which disables MacOS shortcuts in certain apps (I use that to disable system shortcuts while running Citrix so those key combos pass through to the remote Windows machine).

mattparmett avatar Mar 25 '18 18:03 mattparmett