Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow media to be opened in a new tab #28639

Open
tjaderxyz opened this issue Dec 4, 2024 · 0 comments
Open

Allow media to be opened in a new tab #28639

tjaderxyz opened this issue Dec 4, 2024 · 0 comments
Labels
A-Media O-Occasional Affects or can be seen by some users regularly or most users rarely T-Enhancement

Comments

@tjaderxyz
Copy link

Your use case

What would you like to do?

I would like to be able to open media in a new tab. Before authenticated media was enabled middle clicking an image just worked, now it opens an error json saying "M_NOT_FOUND".

Why would you like to do it?

Opening an image in element's image viewer blocks you from composing a reply or looking at other rooms.
Downloading the image and then opening it takes multiple steps (hover image, click download button, confirm save dialog, browse to the downloaded file and open it) and saves a file on your hard drive that you have to remember to delete later.
Just middle clicking the image would open it right away in a new tab.

How would you like to achieve it?

Ideally just middle clicking an image should open it in a new tab.
I don't know what that requires technically, as it seems matrix requires an special header for authentication and won't work with cookies. Both Telegram and WhatsApp Web can somehow open images in a new tab using blob URLs, maybe that's a way to do it.

Have you considered any alternatives?

No response

Additional context

No response

@dosubot dosubot bot added A-Media O-Frequent Affects or can be seen by most users regularly or impacts most users' first experience labels Dec 4, 2024
@dbkr dbkr added O-Occasional Affects or can be seen by some users regularly or most users rarely and removed O-Frequent Affects or can be seen by most users regularly or impacts most users' first experience labels Dec 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-Media O-Occasional Affects or can be seen by some users regularly or most users rarely T-Enhancement
Projects
None yet
Development

No branches or pull requests

2 participants