Minor glitch in text floating preview

Things you’d like to miss in the future...
Forum rules
:warnred20: :warnred20: :warnred20: :warnred20: :warnred20: READ THIS AND DO IT!!! :warnred20: :warnred20: :warnred20: :warnred20: :warnred20:

:info: Please include the following information:
1) Your XYplorer Version (e.g., v28.00.0801)
2) Your Windows Version (e.g., Win 11)
3) Your Screen Scaling Percentage (e.g., 125%).

:info: We recommend adding your Windows Version and Screen Scaling Percentage to the Location field in your Profile or to your Signature. That way, you only have to type them once.

:info: When attaching an Image, please use the Attachment tab at the bottom of your post and click "Add files".

:warnred20: :warnred20: :warnred20: :warnred20: :warnred20: READ THIS AND DO IT!!! :warnred20: :warnred20: :warnred20: :warnred20: :warnred20:
Marco
Posts: 2354
Joined: 27 Jun 2011 15:20

Minor glitch in text floating preview

Post by Marco »

Latest fresh beta.
If you try writing a text file in UTF8 with BOM with an external editor and then preview it XY, you'll see a little artifact on the first letter.
Attachments
test.png
test.png (11.23 KiB) Viewed 3045 times
Tag Backup - SimpleUpdater - XYplorer Messenger - The Unofficial XYplorer Archive - Everything in XYplorer
Don sees all [cit. from viewtopic.php?p=124094#p124094]

admin
Site Admin
Posts: 65051
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: Minor glitch in text floating preview

Post by admin »

Sounds unlikely. Is the decoding correct? (You see it at the bottom of the window.)

Marco
Posts: 2354
Joined: 27 Jun 2011 15:20

Re: Minor glitch in text floating preview

Post by Marco »

It is decoded correctly as UTF8 with BOM.
Try it yourself.
Attachments
test.zip
(130 Bytes) Downloaded 149 times
Tag Backup - SimpleUpdater - XYplorer Messenger - The Unofficial XYplorer Archive - Everything in XYplorer
Don sees all [cit. from viewtopic.php?p=124094#p124094]

admin
Site Admin
Posts: 65051
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: Minor glitch in text floating preview

Post by admin »

No artifact here. I see a plain "O".

Marco
Posts: 2354
Joined: 27 Jun 2011 15:20

Re: Minor glitch in text floating preview

Post by Marco »

Even under W7?
Tag Backup - SimpleUpdater - XYplorer Messenger - The Unofficial XYplorer Archive - Everything in XYplorer
Don sees all [cit. from viewtopic.php?p=124094#p124094]

admin
Site Admin
Posts: 65051
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: Minor glitch in text floating preview

Post by admin »

What do you get?

Code: Select all

text utf8decode("Oye, como va?");

Marco
Posts: 2354
Joined: 27 Jun 2011 15:20

Re: Minor glitch in text floating preview

Post by Marco »

This
Attachments
Immagine.png
Immagine.png (19.94 KiB) Viewed 3040 times
Tag Backup - SimpleUpdater - XYplorer Messenger - The Unofficial XYplorer Archive - Everything in XYplorer
Don sees all [cit. from viewtopic.php?p=124094#p124094]

admin
Site Admin
Posts: 65051
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: Minor glitch in text floating preview

Post by admin »

OK, I could repro it under Win7! :shock:

F*** Win7. :blackstorm:

Marco
Posts: 2354
Joined: 27 Jun 2011 15:20

Re: Minor glitch in text floating preview

Post by Marco »

admin wrote:OK, I could repro it under Win7! :shock:

F*** Win7. :blackstorm:
This is the way

Code: Select all

::makecoffee
:biggrin:
(when will you implement ::maketea too?)
Tag Backup - SimpleUpdater - XYplorer Messenger - The Unofficial XYplorer Archive - Everything in XYplorer
Don sees all [cit. from viewtopic.php?p=124094#p124094]

admin
Site Admin
Posts: 65051
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: Minor glitch in text floating preview

Post by admin »

Got it. They changed the functionality of a Kernel API. Wow. Rude. :naughty:

Marco
Posts: 2354
Joined: 27 Jun 2011 15:20

Re: Minor glitch in text floating preview

Post by Marco »

Fixed! :appl: :appl:
Tag Backup - SimpleUpdater - XYplorer Messenger - The Unofficial XYplorer Archive - Everything in XYplorer
Don sees all [cit. from viewtopic.php?p=124094#p124094]

nerdweed
Posts: 648
Joined: 25 Feb 2012 07:47

Re: Minor glitch in text floating preview

Post by nerdweed »

Don
Win XP is approaching its end of life cycle, it would be better if you code with Win 7 / win 8 in mind and have if required work around for earlier versions.

arirish
Posts: 93
Joined: 13 May 2008 13:52

Re: Minor glitch in text floating preview

Post by arirish »

nerdweed wrote:Don
Win XP is approaching its end of life cycle, it would be better if you code with Win 7 / win 8 in mind and have if required work around for earlier versions.
Just shush, you. ¬_¬

admin
Site Admin
Posts: 65051
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: Minor glitch in text floating preview

Post by admin »

Please: Participate in this forum as users -- simply leave the coding to me. In future any coding advice will be deleted without notice.

grindax

Re: Minor glitch in text floating preview

Post by grindax »

.
Last edited by grindax on 23 Jan 2016 15:52, edited 1 time in total.

Post Reply