Ampersand (&) in Bookmark entries show up as underscores and/or spaces

Discussion related to "Everything" 1.5 Alpha.
Post Reply
SuperDude
Posts: 221
Joined: Thu Sep 25, 2014 7:57 pm

Ampersand (&) in Bookmark entries show up as underscores and/or spaces

Post by SuperDude »

Everything 1.5.0.1272a [64-bit]

Bookmark entries with an ampersand (&) in their names show up as underscores:

Patches & Updates looks like —> Patches _Updates

However, when hovering the mouse over an entry with a & in its name, the text in the status bar is displayed correctly.

However (again): When a bookmark entry has multiple & in its name, for example:

Patches & Updates & Other Stuff & More Stuff —> looks like: Patches Updates Other Stuff _More Stuff

Note: The first two & in the name “Patches & Updates & Other Stuff & More Stuff” get converted into spaces in the Bookmarks context menu; this website seems to remove these extra spaces when typed out.

Although the “Patches & Updates & Other Stuff & More Stuff” context menu entry appears wonky, it is displayed correctly in the status bar. This anomaly may be related to my previous post, where I noted that the status bar displayed &s in names as underscores, which you fixed. In that situation, the status bar was rendering names incorrectly (or something like that). As always, thank you!
void
Developer
Posts: 16672
Joined: Fri Oct 16, 2009 11:31 pm

Re: Ampersand (&) in Bookmark entries show up as underscores and/or spaces

Post by void »

When menu_escape_amp is disabled, please use && for a single literal &.
When menu_escape_amp is disabled, & can be used to escape Alt keyboard shortcuts.

How to enable keyboard shortcuts in Bookmarks using “&”


Filters shown in the status bar and filter bar are currently a little odd, I will work on a fix.
SuperDude
Posts: 221
Joined: Thu Sep 25, 2014 7:57 pm

Re: Ampersand (&) in Bookmark entries show up as underscores and/or spaces

Post by SuperDude »

@void: Thank you. You're amazing.
void
Developer
Posts: 16672
Joined: Fri Oct 16, 2009 11:31 pm

Re: Ampersand (&) in Bookmark entries show up as underscores and/or spaces

Post by void »

Everything 1.5.0.1273a should now correctly display the & in the status bar and filter bar when setting /menu_escape_amp=0
Post Reply