You are not logged in.

#1 2017-02-02 03:04:42

Asp
Member
Registered: 2017-02-02
Posts: 10

[SOLVED] Can't save image from browser shows white screen

Hello. So this might sound like a really stupid question.
I'm currently using i3 as my WM, thunar as my FM and Firefox as my browser.
When I search for images on google so I can get a nice wallpaper for my installation, I always click on view image, and then do right click and "save image as". However when ever I do that it shows me a white screen. It's not like a crash or anything, and I can get back to my browser screen if I press esc.  I can fix this white screen  problem by installing a DE, but I don't want to do that just for "save image as". Any ideas why I get a white screen? Am I missing some kind of plugin?

Edit: solved.  Thanks Nassi!

Last edited by Asp (2017-02-02 21:09:02)

Offline

#2 2017-02-02 03:35:50

circleface
Member
Registered: 2012-05-26
Posts: 639

Re: [SOLVED] Can't save image from browser shows white screen

I just tried it on a random image, and it worked fine.  Do you have a specific URL that isn't working for you?  I don't run a DE either so I'm sure you don't have to install one to make this work.

Offline

#3 2017-02-02 03:48:17

Asp
Member
Registered: 2017-02-02
Posts: 10

Re: [SOLVED] Can't save image from browser shows white screen

I'm not sure why it's not working for me. It's a pretty clean install. I have only installed Firefox Thunar i3 and rofi. Whenever I do "save as" in Firefox it shows me a white screen. It does that for all of the images. Downloads work fine though.

Offline

#4 2017-02-02 04:02:40

circleface
Member
Registered: 2012-05-26
Posts: 639

Re: [SOLVED] Can't save image from browser shows white screen

At first I thought it might be a gtk issue, but firefox should pull in all the gtk packages it needs.  If you try to open an image from the file manager, does it work then?  Which program is it loading to view the picture?  I wonder if it might be some kind of preview issue, but I would imagine installing an image viewer should take care of that.

Offline

#5 2017-02-02 04:14:56

Asp
Member
Registered: 2017-02-02
Posts: 10

Re: [SOLVED] Can't save image from browser shows white screen

http://imgur.com/35QdFaw
http://imgur.com/tkBJF4f
http://imgur.com/wwMoeui

Here are some images that could help explain my situation better.
Opening images from a thunar works.
However Firefox is still having issues. Not sure what the problem is.

Offline

#6 2017-02-02 04:29:43

circleface
Member
Registered: 2012-05-26
Posts: 639

Re: [SOLVED] Can't save image from browser shows white screen

I'm sorry, but I am really at a loss here.  Hopefully someone else will know what is going on, because I am out of ideas at this point.  If I think of anything I will report back.

Offline

#7 2017-02-02 06:06:20

HiImTye
Member
From: Halifax, NS, Canada
Registered: 2012-05-09
Posts: 1,072

Re: [SOLVED] Can't save image from browser shows white screen

have you tried a pacman -Syu? are you using a compositor? I'm really unsure what might be the problem, unless maybe you're using a Firefox plugin or are doing partial upgrades

Offline

#8 2017-02-02 15:21:40

seth
Member
Registered: 2012-09-03
Posts: 58,418

Re: [SOLVED] Can't save image from browser shows white screen

I can fix this white screen  problem by installing a DE

=> Either a bug in the FF desktop integration or the built-in filebrowser - maybe in conjunction with i3 / tiling WMs?
I assume openening a file or saving a webpage exposes the same problem?
Does it work with the noDE Openbox as WM?
Can you set that window floating?

Offline

#9 2017-02-02 15:39:25

nassi
Member
From: Finland
Registered: 2017-01-27
Posts: 35

Re: [SOLVED] Can't save image from browser shows white screen

I had the same problem at one point and at least for me the "white screen" proved to actually be the file browser that opens when the option to save something is chosen. Could you try and see if you can move the white screen around if you press the super key and click on it (I think this is the default in i3wm)?

The problem occurred when I had my laptop with a 1366x768 resolution connected to a 1080p external monitor.

Edit. Just noticed the bit about downloads working normally, so it might not be the same problem.

Last edited by nassi (2017-02-02 15:41:07)

Offline

#10 2017-02-02 15:48:58

Asp
Member
Registered: 2017-02-02
Posts: 10

Re: [SOLVED] Can't save image from browser shows white screen

I'm currently in class right now so I can't test things. However I just wanted to point out that after installing a DE, and then going into the i3 session, the "save as" works fine in Firefox. I'm thinking that some kind of package is missing, but I'm not sure. And yes I have ran pacman -Syu, and this also happens with "save webpage as" etc.

I'm using Compton for transparency but I'm pretty sure that doesn't have any effect but I can try and disable it. Also I have a high dpi screen so that might be the cause for it, but I have scaled everything using xft.dpi in xresources and everything else works fine, so I don't think that might be a cause.

Last edited by Asp (2017-02-02 15:49:36)

Offline

#11 2017-02-02 16:10:14

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,330
Website

Re: [SOLVED] Can't save image from browser shows white screen

I agree with Seth, this sounds like an issue between firefox and the WM.  Having written a few tiling WMs I can tell you that firefox is an enormous pain in the ass for window managers.  Many window managers have a substantial amount of code devoted strictly to dealing with firefox's non-standard dialog window nonsense*.  This is most notable in non-reparenting WMs, so this *might* not be the issue as i3 does reparent, but Seths suggestion of testing Openbox is the ideal test.

*eg, Firefox seems to pick and choose policies from ICCCM and NetWM protocols while not being fully compliant with either one.


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#12 2017-02-02 21:06:29

Asp
Member
Registered: 2017-02-02
Posts: 10

Re: [SOLVED] Can't save image from browser shows white screen

I figured out the problem. As Nassi said, it was a giant draggble pop window that asks you where you want to save the image. Since I have a hidpi display, I believe that dialog thinks it's a much larger display while I'm using a laptop screen. Anyway it was working as intended, it's just that the scaling for the dialog is off, but by dragging, you can kind of get around it.

Thanks guys!

Offline

#13 2017-02-02 21:17:10

seth
Member
Registered: 2012-09-03
Posts: 58,418

Re: [SOLVED] Can't save image from browser shows white screen

Humm ???

xdpyinfo| grep resolution
xrandr -q

Offline

#14 2017-02-03 01:49:05

Asp
Member
Registered: 2017-02-02
Posts: 10

Re: [SOLVED] Can't save image from browser shows white screen

here is the output from xdpyinfo and xrandr


resolution:    192x193 dots per inch
~ $ xrandr -q
Screen 0: minimum 320 x 200, current 2560 x 1440, maximum 8192 x 8192
eDP-1 connected primary 2560x1440+0+0 (normal left inverted right x axis y axis) 277mm x 155mm
   2560x1440     59.95*+  39.97 
   1920x1440     60.00 
   1856x1392     60.01 
   1792x1344     60.01 
   1600x1200     60.00 
   1400x1050     59.98 
   1280x1024     60.02 
   1280x960      60.00 
   1024x768      60.04    60.00 
   960x720       60.00 
   928x696       60.05 
   896x672       60.01 
   800x600       60.00    60.32    56.25 
   700x525       59.98 
   640x512       60.02 
   640x480       60.00    59.94 
   512x384       60.00 
   400x300       60.32    56.34 
   320x240       60.05 
DP-1 disconnected (normal left inverted right x axis y axis)
HDMI-1 disconnected (normal left inverted right x axis y axis)
DP-2 disconnected (normal left inverted right x axis y axis)
HDMI-2 disconnected (normal left inverted right x axis y axis)

Offline

#15 2017-02-03 08:11:30

seth
Member
Registered: 2012-09-03
Posts: 58,418

Re: [SOLVED] Can't save image from browser shows white screen

kill firefox, issue "xrandr --dpi 235" and restart firefox - check the dialog.
xrandr says you've got a 12.4" output at 2560x1440, that's ~235 dpi, but it's set (for whatever reason) to 192 dpi.

Offline

Board footer

Powered by FluxBB