If we get a notification with no body, treat the subject line as the body
ClosedPublic

Authored by davidedmundson on Nov 19 2016, 10:13 PM.

Details

Summary

BUG: 372112

Test Plan

notify-send "This long title that goes on and on" - wrapped with no title

notify-send "subject1" "msg1"
notify-send "subject1" "msg2" - appeared as one message with two lines

notify-send "subject2" "msg1"
notify-send "subject3" "msg2" - appeared as two notifications

Diff Detail

Repository
R120 Plasma Workspace
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
davidedmundson retitled this revision from to If we get a notification with no body, treat the subject line as the body.
davidedmundson updated this object.
davidedmundson edited the test plan for this revision. (Show Details)
davidedmundson added a reviewer: Plasma.
Restricted Application added a project: Plasma. · View Herald TranscriptNov 19 2016, 10:13 PM
Restricted Application added a subscriber: plasma-devel. · View Herald Transcript
apol added a subscriber: apol.Nov 20 2016, 12:27 PM

Is there a chance for a unit test there?

Heh, you were quicker :)

Can we perhaps use the application name as summary in case none is set?

mart added a subscriber: mart.Nov 22 2016, 3:07 PM

ping? (if the appname is used as fallback for the title, this is good to go)

Updated as per request with app name

mart accepted this revision.Nov 29 2016, 11:43 AM
mart added a reviewer: mart.
This revision is now accepted and ready to land.Nov 29 2016, 11:43 AM
This revision was automatically updated to reflect the committed changes.