[Konsole-devel] [Bug 257752] New: Monitor for Activity option triggers notification only once and regardless of window focus

ietc at gmx.net ietc at gmx.net
Wed Nov 24 02:51:49 UTC 2010


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

           Summary: Monitor for Activity option triggers notification only
                    once and regardless of window focus
           Product: konsole
           Version: 2.4.3
          Platform: openSUSE RPMs
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
        AssignedTo: konsole-devel at kde.org
        ReportedBy: ietc at gmx.net


Version:           2.4.3 (using KDE 4.4.4) 
OS:                Linux

Konsole has an option located at '[Menu Bar] => View => [ ] Monitor for
Activity' that is supposed to trigger a notification (as configured under
'Settings => Configure Notifications') when activity happens in that window. 
There are two issues with this function.

1: The notification is triggered whether the Konsole window has focus or not,
so it will trigger when the user himself types in that window.

2: The notification is triggered ONLY ONCE each time the option is set.  After
it has been triggered, the user must deselect the option and reselect it to be
alerted to activity one time more, ad nauseum.

Reproducible: Always

Steps to Reproduce:
(For point 1: notification triggered regardless of window focus.)

1. Activate Monitor for Activity by selecting '[Menu Bar] => View => [x]
Monitor for Activity'.

2. With the Konsole window on top and given focus, type something at the Bash
prompt.

(For point 2: notification is triggered only once.)

3. Deactivate Monitor for Activity to reset its state.

4. Create a GNU Screen session: e.g., $ screen -S test

5. Activate Monitor for Activity.

6. Open another Konsole window so that it has focus and the original loses it;
concurrently attach to the created Screen session: $ screen -x test

7. Type something and see the activity notification be triggered.

8. Return focus to the original Konsole window, then back to the new Konsole
window.

9. Type something more.

Actual Results:  
At Step 2, the the activity notification is triggered even though the Konsole
window has focus and the user, himself, is the source of the activity.

At Step 9, there is no activity notification even though the Monitor for
Activity option is set.  You can see that the option is still set by viewing
its entry in '[Menu Bar] => View'.

Expected Results:  
At Step 2, there should be no activity notification.

At Step 9, there should be activity notification, and it should trigger
activity notification again each time there is activity after the Konsole
window gains focus (User: "I have seen the activity that you alerted me to")
and then loses focus (User: "I am now paying attention to something else, alert
me when there is activity").

In other words, this is how I expected Monitor for Activity to act when set:

Start.

If monitored window has focus: sleep.

If monitored window does not have focus: on activity, trigger notification;
then sleep until window has focus again.  Return to start.

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the konsole-devel mailing list