https://bugs.kde.org/show_bug.cgi?id=490587

            Bug ID: 490587
           Summary: Key presses able to be sent through lockscreen.
                    Possibly app specific
    Classification: Plasma
           Product: kscreenlocker
           Version: unspecified
          Platform: Other
                OS: Other
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: plasma-b...@kde.org
          Reporter: graeme.merr...@gmail.com
  Target Milestone: ---

SUMMARY
I'm using KDE to so a lot of scanning of photo negatives using the software
Vuescan (www.hamrick.com). One side effect of this software is that when
actively running the scanner it steals focus from everything else. For example,
clicking in Kterm while scanning will not only not being the window to the
front but the scanner software will also steal the focus from the KTerm window
when scanning.  Mentioning this for relevance.
Also, this focus stealing only happens when the scanner is running so there's
something going on with either linux+hardware or linux+vuescan. I don't know
which.

A scan takes around 20 minutes to I leave the computer to do it's thing and the
lockscsreen comes on and the display goes to sleep.

Returning to the scanner, I pressed the "Return" key to wake up the computer
and show the unlock screen. The scanner immediately started up and commenced a
preview scan while the screen was still locked. I can only surmise that
pressing the return key was sent through the lock screen to the software.  

My guess is that because the lock screen had started during the scanning
process, that had enabled the scanner to steal focus from the lock screen
process so that the return key was sent to the scanner software and not
kscreenlocker.

I'm not sure how to capture additional debug info on this since it seems to be
a pretty specific combination of factors. 

STEPS TO REPRODUCE
1.  Ensure lockscreen/sleep timeouts are on
2.  Perform a scan using scanner and Vuescan software
3. Wait and then press the return key to open unlock prompt

OBSERVED RESULT
Scanner starts scanning

EXPECTED RESULT
Scanner should not start and password prompt appears for unlock

SOFTWARE/OS VERSIONS
Linux/KDE Plasma:  Neon
(available in About System)
KDE Plasma Version:  6.1.3
KDE Frameworks Version:  6.4.0
Qt Version:  6.7.0

ADDITIONAL INFORMATION

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to