Closed GoogleCodeExporter closed 8 years ago
[deleted comment]
So you're saying that there is space added around the different tokens and you
don't want the space? That's the main issue here, and then you came up with a
solution?
Original comment by ch...@growl.info
on 23 Jun 2013 at 6:22
No I don't say that, I say that it would be better if ALL the characters
displayed in the notifications would come from what you see in the description
setting field.
Then it concerns both spaces and CR (and maybe other characters I didn't remark
for now) that are not clearly visible in the user field, but can exist in the
resulting display.
For the solution, I proposed one that works if implemented, just read my
proposal.
Point #1 give a solution to avoid spaces currently added in the notification
display.
=> don't automatically add any spaces most of the time. And add it ONLY when
the user adds a tag just after another existing tag without character already
existing between the two tags
(in other words, add this forced separator only if needed, and if you add it,
add it really in the input field and not only during the notification display)
Point #2 addresses, same way, a solution to understand when CR will happen in
the resulting notification. Currently, when launching GrowlTunes you have CR in
the default music notification. If you edit and add tags, you can loose those
CR, without any way to rewrite them. My proposal is the make those CR also
visible (and then editable) in the input field.
That's why I called it a sort of WYSIWYG.
Original comment by yann.ric...@gmail.com
on 23 Jun 2013 at 6:43
My mistake for #2: the CR (that I thought resulting from the CR present in the
default description setting for Music notifications) were just a chance of
word-wrapping with my notification style...
Then it's even worse concerning the "not WYSIWYG" carriage-returns:
- the default description setting is
(Album Artist or Artist)
(Album)
(Play Time)
- and it has no difference with
(Album Artist or Artist)(Album)(Play Time)
Really, to make sense for the user, the description field layout should be
closer to the visual display: if CR is in the setting, then CR is in the
notification.
Original comment by yann.ric...@gmail.com
on 23 Jun 2013 at 8:32
So, turns out there was in fact a bug here with regards to spaces, we were
separating components by spaces by mistake. Resolved in [3c593b9b6dee]
As for new lines, token fields behave a bit weird. A simple press of the
return key results in the system trying to tokenize the strings that have been
entered. Ctrl-return results in a new line being added to that string, both
visually and that we store in our tokens for use. This is default system
behavior, and while it might be able to be changed, we wont be. And even if
fields that aren't growing height wise properly, the new lines from a
ctrl-return are there, just wasn't enough height to show them (On
retokenization in the source, this should grow height properly at least on
10.8).
Closing as fixed in source.
Original comment by dan...@growl.info
on 25 Jun 2013 at 3:49
Great!
Original comment by yann.ric...@gmail.com
on 25 Jun 2013 at 6:57
Original issue reported on code.google.com by
yann.ric...@gmail.com
on 22 Jun 2013 at 9:01