Closed Bug 295597 Opened 20 years ago Closed 2 years ago

full screen mode on http://www.bbc.co.uk/radio/aod/mainframe.shtml?http://www.bbc.co.uk/radio/aod/radio1.shtml?onair goes odd when 'view compact size' link is clicked

Categories

(Core :: DOM: Core & HTML, defect, P5)

x86
Windows XP
defect

Tracking

()

RESOLVED INCOMPLETE
Tracking Status
platform-rel --- -

People

(Reporter: maxozilla, Unassigned)

References

()

Details

(Whiteboard: [platform-rel-BBC])

Attachments

(3 files)

User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8b2) Gecko/20050513 Firefox/1.0+ Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8b2) Gecko/20050513 Firefox/1.0+ If you view http://www.bbc.co.uk/radio/aod/mainframe.shtml?http://www.bbc.co.uk/radio/aod/radio1.shtml?onair in full screen mode, then click on the 'View Compact Size' link, the window goes very odd. Reproducible: Always Steps to Reproduce: 1. Go to http://www.bbc.co.uk/radio/aod/mainframe.shtml?http://www.bbc.co.uk/radio/aod/radio1.shtml?onair 2. Go into full screen mode (F11) 3. Click on 'View Compact Size' link Actual Results: Window goes odd, items overlap etc. Expected Results: It should not behave in such an odd way.
What do you mean with window goes odd, items overlap? You mean that when you click the 'View Compact Size' link, suddenly a horizontal scrollbar appears? That would be bug 261897.
Here is a screenshot of the problem.
I've just realised the attachment isn't very clear. Note that there is another firefox window behind it.
Here is a clearer screenshot than the other one.
So you mean, when in fullscreen mode, scripts should not be allowed to tamper with the window size?
I have no idea, but technically if the window size is modified in full screen mode, then it's no longer full screen, so perhaps it shouldn't stay in full screen mode.
Well, if the user has pressed F11 (for full screen), he probably wants it to remain full screen. so I think it would make more sense if scripts are not allowed to change window dimensions, move windows when in full screen mode. That seems to be what IE6 is doing.
I think the choice is either to: disable scripts that modify the window size whilst in full screen mode or: when one of these scripts is activated, to get out of full screen mode, so that the window can be displayed correctly.
Attached patch patchSplinter Review
Well, I like the first choice more ;-) I think this should work, but it seems not to have any effect (which I find odd).
Component: General → DOM: Level 0
Product: Firefox → Core
Version: unspecified → Trunk
Assignee: nobody → general
QA Contact: general → ian
martijn, that does look like it should work... where did you build after applying that diff?
I rebuilt everything, and I tried the patch multiple times, so i'm quite sure the patch doesn't work for some reason. If anyone wants to try it, please do.
Hmm.. You know what? I bet the window that's in fullscreen mode is the chrome window and the checks are being done on the content window...
SetFullScreen fowards to the top-level chrome window, but GetFullScreen does not (and don't ask me how inner/outer windows affect this...)
Assignee: general → nobody
QA Contact: ian → general
Whiteboard: [platform-rel-BBC]
platform-rel: --- → ?
platform-rel: ? → -
Priority: -- → P5

Page no longer active

Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → INCOMPLETE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: