mwittrien / BetterDiscordAddons

A series of plugins and themes for BetterDiscord.
GNU General Public License v2.0
2.05k stars 3.88k forks source link

[BUG?] - ImageUtilities Resizing Bug #2682

Closed EaglePPP closed 2 months ago

EaglePPP commented 2 months ago

Describe the bug Using resizing causes partial image, no matter using "origial size" or "window size"

The width of the resized img is as wide as the width before using this plugin.(the original img discord shows)

When I use maximized window it shows merely 2/5 width of the img(resolution 1920*1080), but if I make the window smaller, it shows more(but still not all)...

To Reproduce I dont know how, all of my pics look like this one day week ago.

Expected behavior picture looks whole in chat message.

Screenshots so the pic look like this as a whole(4K img) image

but since some day of last week or the week before, it suddenly look like this. I did not mess with any other settings before this happens.(only set resizing to original size for message) All I want is picture looks whole in chat window image

Discord Build (stable, ptb or canary): stable 286349

## Discord Info
stable 286654 (b3db605) Host 1.0.9142 x64 (46947) Windows 11 64-bit (10.0.22631)

## BetterDiscord
stable 1.10.1

### Plugins (2 Enabled):
- BDFDB (Enabled)
- ImageUtilities (Enabled)

### Themes (0 Enabled):

Additional context I have tried: reinstalling Discord(stable), didnt help. Using Discord PTB, didnt help. reinstalling the plugins and the BetterDiscord, didnt help. using last version of plugins and libs, didnt help. clearing the plugin folder, didnt help.

Idk if this matters, its in the debug.log [2024-04-23 13:12:09.177][CONSOLE:WARN] Unable to determine render window for element {"location":{"ancestorOrigins":{},"href":"https://discord.com/channels/xxx/xxx","origin":"https://discord.com","protocol":"https:","host":"discord.com","hostname":"discord.com","port":"","pathname":"/channels/xxx/xxx","search":"","hash":""}, [2024-04-23 13:24:47.089][CONSOLE:WARN] [BDFDB] (v3.6.4) mediaAttachmentsContainer not found in ImageMosaic in DiscordClassModules

If you need more infos please let me know.

mwittrien commented 2 months ago

fixed by reloading

EaglePPP commented 2 months ago

thank you sir 🫡