https://bugs.kde.org/show_bug.cgi?id=485137

            Bug ID: 485137
           Summary: Turning off Link Previews not Functional if Matrix
                    Server doesn't support link previews
    Classification: Applications
           Product: NeoChat
           Version: git master
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: General
          Assignee: fe...@posteo.de
          Reporter: tima...@proton.me
                CC: c...@carlschwan.eu
  Target Milestone: ---

Created attachment 168221
  --> https://bugs.kde.org/attachment.cgi?id=168221&action=edit
Shows setting is turned off but loading preview still shows

***
If you're not sure this is actually a bug, instead post about it at
https://discuss.kde.org

If you're reporting a crash, attach a backtrace with debug symbols; see
https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports
***

SUMMARY

I'm currently using a matrix server implementation that doesn't have URL
Previews implemented (endpoint `/_matrix/media/v3/preview_url`). So in order to
get rid of the endless spinning cog on preview url attempts, I tried turning
them off in settings. This didn't change the behaviour and I still see the
spinning cog.

(Aside: The server returns an `M_UNRECOGNIZED` errcode if the endpoint isn't
supported. It might be worth hitting the endpoint and see if it returns that
error code to determine if the url preview should be loaded)

STEPS TO REPRODUCE
1. Connect to a server without the preview_url endpoint implemented or turned
off 
2. Attempt to turn off link previews in messages
3. Confirm that the "loading preview" image is still displayed

OBSERVED RESULT

"Loading Preview" is displayed even if the link previews are turned off in the
client

EXPECTED RESULT

"Loading Preview" shouldn't be displayed

SOFTWARE/OS VERSIONS
Operating System: Fedora Linux 40
KDE Plasma Version: 6.0.3
KDE Frameworks Version: 6.0.0
Qt Version: 6.6.2
Kernel Version: 6.8.4-300.fc40.x86_64 (64-bit)
Graphics Platform: Wayland
Processors: 16 × AMD Ryzen 7 2700X Eight-Core Processor
Memory: 31.3 GiB of RAM
Graphics Processor: AMD Radeon RX 590 Series
Manufacturer: Gigabyte Technology Co., Ltd.
Product Name: X470 AORUS GAMING 7 WIFI

ADDITIONAL INFORMATION
NeoChat Build Information:
KDE Frameworks 6.1.0 
Wayland Windowing System
Qt 6.6.2
libQuotient 0.8.1.2

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to