Fullscreen in Gnome 3 does not work (workaround inside)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
GNOME Shell |
Fix Released
|
Medium
|
|||
Pipelight |
Confirmed
|
Medium
|
Unassigned | ||
Ubuntu |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
Hi,
First off, thanks for developing Pipelight as it's the best solution I've found to get Netflix to work on Linux. However, I am currently using Fedora 20 (64-bit) and I was able to get Pipelight working correctly under Firefox version 27.0, which means I can play Netflix videos just fine (when not in fullscreen). Once I attempt to make the video to go to fullscreen mode, I see that the video enlarges but then is quickly replaced by a blank black screen within Firefox (see the attachment). Note: I _can_ watch the fullscreen version of the video if I do an ALT+ESC twice (kind of like ALT+TAB but that it more directly switches windows). So, this is more of an annoyance (that makes Linux look less capable than MS Windows) rather than a showstopper.
My hardware on my laptop is detailed in the attached ZIP file.
BEFORE READING FURTHER: I will dive into a similar account with Adobe Flash, which was fixed with a program called "Devil's Pie (devilspie)". If you know another possible way to fix my problem, then you can stop reading here.
Possible Fix via Devil's Pie?:
I had a similar symptom that I experienced with Adobe Flash. On Fedora 20, if you install the latest version of Adobe Flash in Firefox, you can play Flash videos, but once you try to go to fullscreen mode it disappears (but not in the same way that Pipelight does since it's being ran through Wine). The ALT+ESC workaround does not work for the fullscreen Flash problems, but a fix is possible by using a program called "Devil's Pie (devilspie)".
Basically, Devil's Pie was created to perform windowing modifications, which for this fix is to have Devil's Pie to make the Adobe Flash plugin to receive 'focus' (and allow fullscreen to work) once Devil's Pie detected that the Flash video has become a new, real application window all-by-itself (but contained as an instance of Firefox). Here is the Devil's Pie script that I use on my system at this location: ~/.devilspie/
(if
(is (application_name) "plugin-container")
(begin
(focus)
)
)
The script above just simply detects a window titled “plugin-container” (which is the Adobe Flash fullscreen video) and then makes it have 'focus' (stay on top).
Ultimately, what I am getting at is that I think Devil's Pie could fix my fullscreen issue with Pipelight, except that I am a novice to building scripts for Devil's Pie, so I haven't figured out a way to make it detect the new Wine instance of Pipelight. The script above references "plugin-container" because it is the actual window name of the fullscreen Flash video when running "xlsclients -l" (it is a window with the 'Name:' of "plugin-
I might be thinking too hard of a fix, but I couldn't locate anybody else talking about my same issue with Pipelight + Fedora 20 + Fullscreen. I say Fedora 20 specifically, as I actually have Ubuntu 13.10 as another distro I can boot into on my computer and I do not have this fullscreen weird'ness.
Any suggestions?
Thanks,
--William
summary: |
- Fullscreen in Fedora 20 Has Problems + Fullscreen in Gnome 3 does not work (workaround inside) |
Changed in gnome-shell: | |
importance: | Unknown → Medium |
status: | Unknown → New |
Changed in pipelight: | |
status: | New → Confirmed |
importance: | Undecided → Medium |
Changed in gnome-shell: | |
status: | New → Fix Released |
Hi William,
thanks for reporting this problem.
The screenshot looks really weird, but unfortunately I'm not able to reproduce this issue over here. I would like to know some additional information.
First of all: Do you mean the browser fullscreen mode or the netflix player fullscreen mode (for example by pressing key F if i remember correctly?)? Based on your description I would assume that browser fullscreen mode works correctly (but is probably without GPU acceleration).
When you see the black area (as on the screenshot) where the Silverlight application should be, does right click show up the typical context menu? Does resizing the browser window let the content show up again?
It also seems a bit weird to me, that it works for a short moment - is it possible that in this case "Devil's Pie" is responsible for the problems? I think the name "plugin-container" matches nearly all Flash/Silverlight applications, so it maybe assigns the focus to a wrong window?
Moreover I would like to know if it makes a difference when you run your browser with (close all other browser windows first):
GPU acceleration disabled: GPUACCELERATION =0 firefox
PIPELIGHT_
Showing the Silverlight content as a separate window:
PIPELIGHT_EMBED=0 firefox
Sebastian