KOrganizer display reminders on the screen despite active screen lock #60

Κλειστό
ανοίχτηκε 3 έτη πριν από jstolarek · 15 σχόλια
jstolarek σχολίασε 3 έτη πριν
Συνεργάτης

Basic information

  • TDE version: R14.0.11 [DEVELOPMENT]
  • Distribution: Debian GNU/Linux 10 (buster)
  • Hardware: amd64

Description

After locking the screen (e.g. with dcop kdesktop KScreensaverIface lock or by selecting "Lock screen" from TDE menu) KOrganizer displays reminders of upcoming tasks on the screen despite screen lock being active - see attached photo. This is a serious security issue since it can reveal private information by completely bypassing a screen lock. Reminder notification window disappears immediately after moving the mouse or pressing a key so I actually had to make a photo of it. It's not possible to capture this with a a screenshot.

## Basic information - TDE version: R14.0.11 [DEVELOPMENT] - Distribution: Debian GNU/Linux 10 (buster) - Hardware: amd64 ## Description After locking the screen (e.g. with `dcop kdesktop KScreensaverIface lock` or by selecting "Lock screen" from TDE menu) KOrganizer displays reminders of upcoming tasks on the screen despite screen lock being active - see attached photo. This is a serious security issue since it can reveal private information by completely bypassing a screen lock. Reminder notification window disappears immediately after moving the mouse or pressing a key so I actually had to make a photo of it. It's not possible to capture this with a a screenshot.
jstolarek πρόσθεσε τη σήμανση SL/major 3 έτη πριν
MicheleC σχολίασε 3 έτη πριν
Ιδιοκτήτης

Hi Janek,
I can confirm this behaviour and I could not find any option to enable/disabled it.
Not sure if this should be called a major bug or not, it probably depends on people needs: some users may like to be reminded of their tasks if their screen is locked.
I think the right solution would be to have a checkbox that let the user choose the prefer behavior.

Hi Janek, I can confirm this behaviour and I could not find any option to enable/disabled it. Not sure if this should be called a major bug or not, it probably depends on people needs: some users may like to be reminded of their tasks if their screen is locked. I think the right solution would be to have a checkbox that let the user choose the prefer behavior.
deloptes σχολίασε 3 έτη πριν
Συνεργάτης

I think the right solution would be to have a checkbox that let the user choose the prefer behavior.

definitely

> I think the right solution would be to have a checkbox that let the user choose the prefer behavior. definitely
deloptes αφαίρεσε το σήμα SL/major 3 έτη πριν
jstolarek σχολίασε 3 έτη πριν
Συντάκτης
Συνεργάτης

Not sure if this should be called a major bug or not, it probably depends on people needs: some users may like to be reminded of their tasks if their screen is locked.

I understand someone might want to have such functionality and having a switch sounds like a good idea. But in its current state I believe this is a bug because:

  1. Notification window disappears immediately after moving a mouse or pressing a key. If the goal is to display the reminders despite screen lock then I would argue this is not well executed because it's very easy to have a notification accidentally hidden under a screen lock.

  2. Expanding on what I said in the original report, the primary purpose of a screen lock is to ensure privacy of one's workstation from passer-byes. A notification window can reveal an awful lot of private information: from phone numbers, names, and confidential meeting links and passwords*, to one's health problems. Imagine a reminder about calling a doctor about your health condition that you don't want to tell anyone about and then your colleagues at work see that information displayed on your screen despite screen lock. The *) bit about links and passwords is not made up. I use KOrganizer to save online meeting links on Zoom or Jitsi together with passwords needed to join the rooms. Would absolutely not want to have this disclosed. That's why I marked this bug as major. It's a security bug that can lead to leaking of user's private data and should be taken seriously. There should really be a label for security bugs but as long as there isn't one I would insist on treating this as a major bug.

Note also similar concerns raised for Firefox Megabar feature.

> Not sure if this should be called a major bug or not, it probably depends on people needs: some users may like to be reminded of their tasks if their screen is locked. I understand someone might want to have such functionality and having a switch sounds like a good idea. But in its current state I believe this is a bug because: 1. Notification window disappears immediately after moving a mouse or pressing a key. If the goal is to display the reminders despite screen lock then I would argue this is not well executed because it's very easy to have a notification accidentally hidden under a screen lock. 2. Expanding on what I said in the original report, the primary purpose of a screen lock is to ensure privacy of one's workstation from passer-byes. A notification window can reveal an awful lot of private information: from phone numbers, names, and confidential meeting links and passwords*, to one's health problems. Imagine a reminder about calling a doctor about your health condition that you don't want to tell anyone about and then your colleagues at work see that information displayed on your screen despite screen lock. The *) bit about links and passwords is not made up. I use KOrganizer to save online meeting links on Zoom or Jitsi together with passwords needed to join the rooms. Would absolutely not want to have this disclosed. That's why I marked this bug as major. It's a security bug that can lead to leaking of user's private data and should be taken seriously. There should really be a label for security bugs but as long as there isn't one I would insist on treating this as a major bug. Note also [similar concerns raised for Firefox Megabar feature](https://discourse.mozilla.org/t/firefox-75-quantumbar-megabar-privacy-and-other-concerns/57491).
SlavekB σχολίασε 3 έτη πριν
Ιδιοκτήτης

Yes, it is true that standard behavior should be so that all windows should be hidden under the screen lock. Indeed, that is why it was solved the way of hiding popup notifications that are not like ordinary windows. Therefore, the notification from the KOrganizer should be hidden under the screen lock if there is no special checkbox to request display over the locked screen.

We can discuss whether it makes sense to do such a checkbox, but nothing will change to the fact that existing behavior is wrong and need to be fixed.

Yes, it is true that standard behavior should be so that all windows should be hidden under the screen lock. Indeed, that is why it was solved the way of hiding popup notifications that are not like ordinary windows. Therefore, the notification from the KOrganizer should be hidden under the screen lock if there is no special checkbox to request display over the locked screen. We can discuss whether it makes sense to do such a checkbox, but nothing will change to the fact that existing behavior is wrong and need to be fixed.
MicheleC σχολίασε 3 έτη πριν
Ιδιοκτήτης

IMO, we can hide the notification by default and add a checkbox to allow them to be displayed if the user choose to do so. This way the user is responsible for his own action :-)

IMO, we can hide the notification by default and add a checkbox to allow them to be displayed if the user choose to do so. This way the user is responsible for his own action :-)
jstolarek σχολίασε 3 έτη πριν
Συντάκτης
Συνεργάτης

One more thing I just noticed is that if you disable the screen saver and lock the screen then notification windows will still display on the screen - as previously - but this time they don't disappear when moving a mouse. More interestingly, they are completely unresponsive to mouse, i.e. there's no way to click any of the buttons to dismiss or suspend a task. At this point one's best bet is to press Esc on the keyboard. That refreshes the screen lock screen and hides the notification window.

One more thing I just noticed is that if you disable the screen saver and lock the screen then notification windows will still display on the screen - as previously - but this time they don't disappear when moving a mouse. More interestingly, they are completely unresponsive to mouse, i.e. there's no way to click any of the buttons to dismiss or suspend a task. At this point one's best bet is to press Esc on the keyboard. That refreshes the screen lock screen and hides the notification window.
MicheleC σχολίασε 3 έτη πριν
Ιδιοκτήτης

One more thing I just noticed is that if you disable the screen saver and lock the screen then notification windows will still display on the screen - as previously - but this time they don't disappear when moving a mouse. More interestingly, they are completely unresponsive to mouse, i.e. there's no way to click any of the buttons to dismiss or suspend a task. At this point one's best bet is to press Esc on the keyboard. That refreshes the screen lock screen and hides the notification window.

I can confirm this behavior as well.
The problem in this PR comes from the fact that the alarm dialog has the Stay on Top flag active. Currently looking into what is the best way to fix this.

> One more thing I just noticed is that if you disable the screen saver and lock the screen then notification windows will still display on the screen - as previously - but this time they don't disappear when moving a mouse. More interestingly, they are completely unresponsive to mouse, i.e. there's no way to click any of the buttons to dismiss or suspend a task. At this point one's best bet is to press Esc on the keyboard. That refreshes the screen lock screen and hides the notification window. I can confirm this behavior as well. The problem in this PR comes from the fact that the alarm dialog has the Stay on Top flag active. Currently looking into what is the best way to fix this.
MicheleC σχολίασε 3 έτη πριν
Ιδιοκτήτης

I have been looking into this and done quite a bit of testing. I have come to the conclusion that it would be better to simply not show the reminders if the screen is locked and avoid a config option for it. The reasons for this are:

  1. the reminder dialog on the lock screen is totally unresponsive, so it is not possible to drag them around and show a second reminder dialog that may be present.
  2. it takes away the focus from the lock dialog, requiring Esc + click to input the password
  3. if the screen is locked and the lock dialog hidden (for example pressing Esc when the screen is locked), the reminder dialogs are not shown and when the screen is shown again, reminder dialogs would be hidden
  4. if the reminder dialog is shown and the user press Esc, it disappears until the screen is unlocked.

An option to show reminders on the locked screen would not behave consistenly and therefore I think it is better to not have it at all.
And as Janek mentioned, a locked screen is supposed to hide the user activity and potentially sensitive information.

What do you think?

I have been looking into this and done quite a bit of testing. I have come to the conclusion that it would be better to simply not show the reminders if the screen is locked and avoid a config option for it. The reasons for this are: 1. the reminder dialog on the lock screen is totally unresponsive, so it is not possible to drag them around and show a second reminder dialog that may be present. 2. it takes away the focus from the lock dialog, requiring Esc + click to input the password 3. if the screen is locked and the lock dialog hidden (for example pressing Esc when the screen is locked), the reminder dialogs are not shown and when the screen is shown again, reminder dialogs would be hidden 4. if the reminder dialog is shown and the user press Esc, it disappears until the screen is unlocked. An option to show reminders on the locked screen would not behave consistenly and therefore I think it is better to not have it at all. And as Janek mentioned, a locked screen is supposed to hide the user activity and potentially sensitive information. What do you think?
jstolarek σχολίασε 3 έτη πριν
Συντάκτης
Συνεργάτης

I fully agree with your analysis.

I fully agree with your analysis.
MicheleC αναφορά σε αυτό το ζήτημα από την παραπομπή 3 έτη πριν
MicheleC αναφορά σε αυτό το ζήτημα από την παραπομπή 3 έτη πριν
MicheleC σχολίασε 3 έτη πριν
Ιδιοκτήτης

@jstolarek
I don't know if you build TDE on your own or just use the prebuilt packages. If you are able to build, PR #63 is a proposed fix for this.

@SlavekB
in case Janek can't test it, could you give it a go before we merge?

@jstolarek I don't know if you build TDE on your own or just use the prebuilt packages. If you are able to build, PR #63 is a proposed fix for this. @SlavekB in case Janek can't test it, could you give it a go before we merge?
jstolarek σχολίασε 3 έτη πριν
Συντάκτης
Συνεργάτης

@MicheleC I'm using pre-buils packages (PSB) and can't test on my own. Sorry.

@MicheleC I'm using pre-buils packages (PSB) and can't test on my own. Sorry.
MicheleC σχολίασε 3 έτη πριν
Ιδιοκτήτης

@MicheleC I'm using pre-buils packages (PSB) and can't test on my own. Sorry.

No worries, I suspected that. Once Slavek can test on his own machine, we can merge this.

> @MicheleC I'm using pre-buils packages (PSB) and can't test on my own. Sorry. No worries, I suspected that. Once Slavek can test on his own machine, we can merge this.
MicheleC πρόσθεσε μια νέα εξάρτηση 3 έτη πριν
MicheleC αναφορά σε αυτό το ζήτημα από την παραπομπή 3 έτη πριν
MicheleC αναφορά σε αυτό το ζήτημα από την παραπομπή 3 έτη πριν
MicheleC σχολίασε 3 έτη πριν
Ιδιοκτήτης

Hi Janek,
Slavek did a test on his system and we just merged the fix. PSB packages should be available soon. When you get the new packages, please test and let us know if you see any issue. If not, we can then close this issue.

Hi Janek, Slavek did a test on his system and we just merged the fix. PSB packages should be available soon. When you get the new packages, please test and let us know if you see any issue. If not, we can then close this issue.
MicheleC το πρόσθεσε στο R14.0.11 release ορόσημο 3 έτη πριν
jstolarek σχολίασε 3 έτη πριν
Συντάκτης
Συνεργάτης

Works perfectly, thanks! Closing.

Works perfectly, thanks! Closing.
jstolarek αυτό το ζήτημα έκλεισε 3 έτη πριν
MicheleC σχολίασε 3 έτη πριν
Ιδιοκτήτης

Great, thanks for confirming and closing.

Great, thanks for confirming and closing.
Συνδεθείτε για να συμμετάσχετε σε αυτή τη συνομιλία.
Χωρίς Ορόσημο
Χωρίς Αποδέκτη
4 Συμμετέχοντες
Ειδοποιήσεις
Ημερομηνία Παράδοσης

Δεν ορίστηκε ημερομηνία παράδοσης.

Αναφορά: TDE/tdepim#60
Φόρτωση…
Δεν υπάρχει ακόμα περιεχόμενο.