Regions will not resize back to full screen - always 2px missing on each edge.

Bug #421297 reported by Henri Behari
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Xibo
Fix Released
High
Dan Garner

Bug Description

16:10 is same as 16:9 (widescreen) in v1.0.3

Related branches

Revision history for this message
Alex Harrington (alexharrington) wrote :

Could you give some more information please?

Here's the XML that generates a 16:9 and 16:10 layout respectively. You'll see the height dimension change by the correct ratio - and as far as I can tell that correctly influences the shape the layout is on the client.

16:9
http://bazaar.launchpad.net/~xibo-maintainers/xibo/halley/annotate/head%3A/server/install/database/1.sql#L509
<layout schemaVersion="1" width="800" height="450" bgcolor="#000000">

16:10
http://bazaar.launchpad.net/~xibo-maintainers/xibo/halley/annotate/head%3A/server/install/database/1.sql#L510
<layout schemaVersion="1" width="800" height="500" bgcolor="#000000">

Is this actually to do with you wanting Xibo to stretch 16:9 video to fill 16:10 or visa versa?

Can you please precisely describe what you're doing, what you think the outcome should be, and what the outcome is. Ideally send over the .xlf files from the client library directory showing the bug you describe.

Cheers

Alex

Changed in xibo:
status: New → Incomplete
Revision history for this message
Henri Behari (henri) wrote :

Alex,

My screens res = 1920*1200
My layout background = white
In the region, I've added a 1920*1200 image

As you can see, the image is not fullscreen, om the right and bottom you'll see the layout background color (white), on the server side I'm not able to stretch the region more (it's already covering the whole screen)

Hope this helps

-Henri

Revision history for this message
Alex Harrington (alexharrington) wrote :

Henri

From 7.xlf, you'll see that the region you have your image in is sized 798x498:
<region id="4a9ae7f47f9ef" width="798" height="498" top="0" left="0">

Which is why your image isn't shown full screen. When that's multipled up to your screen resolution, you'll see approximately 5 pixels of white on the bottom and left edge.

What I'd suggest you do is make a new layout using the full screen 16:10 template and put your image in without manipulating the size or position of the region and you should find it then works as you expect.

Without seeing your setup and knowing more about your browser, I can't say why you're seeing that as filling the entire screen, but I've tested here resizing a region in both IE7 and Firefox 3.5 and it correctly returns to 800x500 for a 16:10 layout.

Cheers

Alex

Changed in xibo:
status: Incomplete → Invalid
assignee: nobody → Alex Harrington (alexharrington)
Revision history for this message
Henri Behari (henri) wrote :

Found the problem.
When adding a layout, I select template "none" then in layout design I assing resolution 16:10 widescreen (i think this is what i'm doing wrong)

btw: editing the layout doesn't allow me to change template, is this by design?

Revision history for this message
Henri Behari (henri) wrote :

whenever you start resizing a region the 16:10 get messed, xlf gets the value (width="798" height="498")

Revision history for this message
Alex Harrington (alexharrington) wrote :

You can't change the template because it's a one-time deal. We basically copy in a blank XLF for you to edit. Changing to a new template makes no sense because you'd loose everything you'd already added.

I've tried again in a different FF 3.5 browser and duplicated the issue you mentioned second time around. I'll confirm this and target for the next release.

Thanks for helping by working through the issue with us.

Alex

Revision history for this message
Alex Harrington (alexharrington) wrote :

Steps to reproduce:
Add new layout with 16:10 template
Examine xml field in DB for the layout. Note that the dimensions of the region are 800x500 as you would expect
Shrink the region down to some other size. The xml changes correctly
Expand the region back to the maximum size and note that the region is 2 pixels too small in x and y direction.

Tested on FF 3.5

Changed in xibo:
assignee: Alex Harrington (alexharrington) → Dan Garner (dangarner)
importance: Undecided → High
milestone: none → 1.0.4
status: Invalid → Confirmed
Dan Garner (dangarner)
summary: - 16:10 BUG!
+ Regions will not resize back to full screen - always 2px missing on each
+ edge.
Revision history for this message
Henri Behari (henri) wrote :

fyi: it happens also in other formats not only 16:10

Changed in xibo:
milestone: 1.0.4 → 1.0.5
Dan Garner (dangarner)
Changed in xibo:
status: Confirmed → Fix Committed
Dan Garner (dangarner)
Changed in xibo:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Bug attachments

Remote bug watches

Bug watches keep track of this bug in other bug trackers.