Bug 1103216

Summary: dunst shortcuts don't work when NumLock is on
Product: [Fedora] Fedora Reporter: Václav Kadlčík <vkadlcik>
Component: dunstAssignee: Lukas Zapletal <lzap>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: 20CC: lzap
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: dunst-1.0.0-3.fc20 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-11-14 12:03:51 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
dunst-1.0.0-NumLock.patch
none
a trivial patch to dunst.spec none

Description Václav Kadlčík 2014-05-30 13:20:05 UTC
Description of problem:
dunst shortcuts don't work when NumLock is on

Version-Release number of selected component (if applicable):
dunst-1.0.0-2.fc20.x86_64

How reproducible:
always

Steps to Reproduce:
1. Run a window manager wich doesn't handle notifications, f.ex. Openbox
2. Have NumLock on
3. Run dunst (leave the default configuration)
4. Send some notifications, f.ex.: for i in `seq 1 10`; do notify-send $i "text $i"; sleep 1; done
5. Try to close the notifications using Control+Space

Actual results:
The notifications survive

Expected results:
The notifications vanish

Additional info:
Upstream bug: https://github.com/knopwob/dunst/issues/116
Upstream fix: https://github.com/knopwob/dunst/commit/be7d2b3511dc528b135e5dc6d5358c700fefaa30

Comment 1 Václav Kadlčík 2014-05-30 13:22:52 UTC
Created attachment 900838 [details]
dunst-1.0.0-NumLock.patch

the upstream fix

Comment 2 Václav Kadlčík 2014-05-30 13:24:45 UTC
Created attachment 900840 [details]
a trivial patch to dunst.spec

Comment 3 Václav Kadlčík 2014-05-30 13:26:05 UTC
The patches attached above solve the bug for me

Comment 4 Fedora Update System 2014-06-03 14:17:58 UTC
dunst-1.0.0-3.fc20 has been submitted as an update for Fedora 20.
https://admin.fedoraproject.org/updates/dunst-1.0.0-3.fc20

Comment 5 Lukas Zapletal 2014-06-03 14:18:39 UTC
Ahoj Václave,

thanks for the patch. Reproduced with i3 wm, integrated, backported into f20.

================================================================================
     dunst-1.0.0-3.fc20
================================================================================
    Release: Fedora 20
     Status: pending
       Type: enhancement
      Karma: 0
    Request: testing
       Bugs: 1103216 - dunst shortcuts don't work when NumLock is on
      Notes: Backported numlock fix (RHBZ 1103216)
  Submitter: lzap
  Submitted: 2014-06-03 14:17:59
   Comments: bodhi - 2014-06-03 14:18:12 (karma 0)
             This update has been submitted for testing by lzap.

  https://admin.fedoraproject.org/updates/dunst-1.0.0-3.fc20

Comment 6 Fedora Update System 2014-06-04 07:55:11 UTC
Package dunst-1.0.0-3.fc20:
* should fix your issue,
* was pushed to the Fedora 20 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing dunst-1.0.0-3.fc20'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2014-7059/dunst-1.0.0-3.fc20
then log in and leave karma (feedback).

Comment 7 Václav Kadlčík 2014-06-04 14:00:08 UTC
Ahoj Lukáši,

works for me, thanks!

Comment 8 Fedora Update System 2014-11-14 12:03:51 UTC
dunst-1.0.0-3.fc20 has been pushed to the Fedora 20 stable repository.  If problems still persist, please make note of it in this bug report.