Page 1 of 1

Hover Box is truncating content so certain content is not visible even with word wrap on

Posted: 28 Aug 2022 02:06
by elqasar2
Maybe I'm misunderstanding something or maybe there is a bug in Hover Box. Often I find that content is truncated/missing, even though the file is being word wrapped.

For example, please open the html file (attached to this post inside a zip) in a text editor to see its full contents.

If I hover over it to open a word-wrapped Hover Box in XYplorer, this is what I see (Note that I've enabled Hover Box for Text Files and not Web Files so it's being treated as a text file):
hoverbox.png
Now, refer back to the text file. For example, let's look at line 11. Text in the hover box has stopped at the word 'Playlist'. And therefore the list of tracks visible in the hover box starts with '2. Studio X Labs - Relic Logo (0:21)'. The first track, '1. Studio X Labs - Sierra Logo (0:15)' can't be seen because that was chopped off the end of line 11.

Am I missing something with regards to how the Hover Box works?

Re: Hover Box is truncating content so certain content is not visible even with word wrap on

Posted: 28 Aug 2022 10:54
by admin
Indeed, good find! :tup: Fix comes.

Re: Hover Box is truncating content so certain content is not visible even with word wrap on

Posted: 28 Aug 2022 14:17
by elqasar2
Fixed in 23.50.0211 :tup:
May I suggest that you add a description in the bottom section of the Hover Box to indicate whether text wrapping is currently toggled on or off. Currently it's impossible to know which mode it's in, and if wrapping is off you might miss out on important content that you can't see (without even knowing it).

Re: Hover Box is truncating content so certain content is not visible even with word wrap on

Posted: 28 Aug 2022 17:32
by admin
Makes sense.

Re: Hover Box is truncating content so certain content is not visible even with word wrap on

Posted: 28 Aug 2022 17:49
by elqasar2
Cool. For the below, it would also be nice if there was some kind of indicator in the bottom section showing which mode is active. For a long time, I was in mode '0' with scrolling completely disabled, and I didn't even know it was possible to scroll.
Hover Box Scrolling/Scaling: While the Hover Box is showing text or an image you can cycle the scrollability/scalability by pressing the "R" key (think "roll").

Internal value Function

0 Scrolling and scaling disabled

1 Scrolling texts enabled

2 Scaling images enabled

3 Scrolling texts and scaling images enabled

Re: Hover Box is truncating content so certain content is not visible even with word wrap on

Posted: 28 Aug 2022 17:53
by admin
Don't see a cool way to do it though.

Re: Hover Box is truncating content so certain content is not visible even with word wrap on

Posted: 29 Aug 2022 14:21
by elqasar2
In the latest beta, I see the word wrap indicator, but why does it disappear after scrolling to the bottom of a text file? And then even after scrolling back up, it's still gone.

Re: Hover Box is truncating content so certain content is not visible even with word wrap on

Posted: 29 Aug 2022 15:14
by admin
Bug. Fix comes.