element-desktop icon indicating copy to clipboard operation
element-desktop copied to clipboard

No preview in image selection dialog on Ubuntu

Open ArtemZ opened this issue 7 years ago • 5 comments

Description

File selection dialog called by riot-web has no preview feature

Steps to reproduce

  • Install the most recent version of riot-web availble on Ubuntu Linux 16.04 (0.15.4 in my case)
  • Sign in and try to send a picture to one of your contacts or to a room by clicking "Upload file" icon at the left bottom part of the riot-web interface
  • In file selection dialog navigate to a folder with reasonably sized pictures, select one of them

Expected behavior: file selection dialog provides preview of selected image screenshot from 2018-06-14 12-02-25

Version information

  • Platform: desktop

  • OS: Ubuntu 16.04

  • Version: 0.15.4 from https://riot.im/packages/debian xenial/main amd64 Packages

ArtemZ avatar Jun 14 '18 09:06 ArtemZ

huh thats bizarre

t3chguy avatar Jun 14 '18 09:06 t3chguy

Related to this electron issue? https://github.com/electron/electron/issues/2911

ArtemZ avatar Jun 14 '18 09:06 ArtemZ

Perhaps, Telegram wrote native code for this. https://github.com/telegramdesktop/tdesktop/blob/958d55a594364cb92debc1aeb4ea158f9107f0a4/Telegram/SourceFiles/storage/file_upload.cpp

t3chguy avatar Jun 14 '18 09:06 t3chguy

@t3chguy file_upload.cpp doesn't seem to have much to do with type of gtk file selection dialog, more like internal telegram file uploading handler

ArtemZ avatar Jun 14 '18 09:06 ArtemZ

It is still true with Ubuntu 18.04

Thatoo avatar May 06 '19 12:05 Thatoo