Remove the preview badge?


#1

I’m using the preview version of Taskpaper which has the red “Prev” badge on the icon. As I have no badge notifications on any of my apps, it’s distracting to have one badge there (and there are no notifications). My OCD-self doesn’t really understand that :wink: Is there any hidden option to hide the ‘prev’ badge? I understand the reason why it’s there, but it would be great to be able to remove it via a hidden option e.g.


#2

I’d very much like that ability too.


#3

Here’s a solution that I found which works: https://apple.stackexchange.com/questions/153182/remove-dock-notification-badge-for-apps-not-in-notification-center (use “com.hogbaysoftware.TaskPaper3” as bundleid). You’ll have to toggle the ‘badges’ in Notification preferences on and off before it works.


#4

Yes please!!

And I prefer a build in option (hidden shortcut like CMD-CTRL-OPT-SHIFT-B) and no hack (like @mdbraber suggests)!

Feek


#5

I don’t want to add any keyboard shortcuts, but for the next release I’ve added a defaults key ShowPreviewBadge. If you set it to false then it won’t show.


#6

Excellent. Is the domain com.hogbaysoftware.TaskPaper, .TaskPaper.mac, or .TaskPaper3 ?


#7

It’s com.hogbaysoftware.TaskPaper3.


#8

Great, thanks.

For those who don’t know, this means that to hide the preview badge, you’d open the Terminal app on OS X, paste in the following line, and press Return.

defaults write com.hogbaysoftware.TaskPaper3 ShowPreviewBadge -bool false

(As Jesse said, it’ll only take effect from the next release onwards, i.e. later releases than 3.1 Preview 191.)


#9

An official hack is fine with me!


#10

I’ve tried this but it no longer works. Any ideas?


#11

That preference didn’t make it over when I rewrote everything in Swift… I’ll add back for next release.