bugGnash - The GNU Flash player - Bugs: bug #19185, Every gui is utterly broken:...

 
 

bug #19185: Every gui is utterly broken: zero-sized canvas

Submitted by:  Martin Guy <martinwguy>
Submitted on:  Fri 02 Mar 2007 10:34:17 PM UTC  
 
Category: guiSeverity: 4 - Important
Release: NoneStatus: Invalid
Privacy: PublicAssigned to: None
Open/Closed: Closed

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Sat 03 Mar 2007 04:30:10 PM UTC, comment #5:

The significant changes were returning NaN instead of 0 when someone takes as as_value of an object that is not number or bool; see as_value.cpp 1.17/1.18. If i can narrow it down I will.

Martin Guy <martinwguy>
Sat 03 Mar 2007 04:08:20 PM UTC, comment #4:

Could we reuse this item to track why did winwod size rely
on as_value at all ?
Martin, any hint ?

Sandro Santilli <strk>
Project Member
Sat 03 Mar 2007 03:47:26 PM UTC, comment #3:

Caused by my recent commit to as_value.cpp returning NaN for non-number objects.

That is what FlashPlayer returns; but some things in Gnash must reply on as_value returning 0.0 for non-number (or bool) objects.

Martin Guy <martinwguy>
Sat 03 Mar 2007 03:05:51 PM UTC, comment #2:

Nope, cvs diff -R reports no changes, and all builds rebuilt from scratch today on the usual Debian etch boxen.

Martin Guy <martinwguy>
Sat 03 Mar 2007 02:41:35 PM UTC, comment #1:

At least agg-gtk works fine for me from HEAD. Do you have any local changes which might be causing this issue?

Bastiaan Jacques <bjacques>
Project Member
Fri 02 Mar 2007 10:34:17 PM UTC, original submission:

all gui-renderer combinations became unusable in cvs between 28 february and current date March 2 2007. The problem seems to be a failure to pass the movie canvas size to the renderer, or passing it as 0.

agg-fb
lt-gnash: /home/martin/lulu/gnash/gui/gui.cpp:109: /home/martin/lulu/gnash/gui/gui.cpp:109: Assertion `width>0' failed.
Aborted

agg-fltk
lt-gnash: /home/martin/lulu/gnash/backend/render_handler_agg.cpp:512: /home/martin/lulu/gnash/backend/render_handler_agg.cpp:512: Assertion `x > 0' failed.
Aborted

agg-gtk
lt-gnash: /home/martin/lulu/gnash/gui/gtk_glue_agg.cpp:80: /home/martin/lulu/gnash/gui/gtk_glue_agg.cpp:80: Assertion `width>0' failed.
Aborted

agg-sdl
lt-gnash: /home/martin/lulu/gnash/backend/render_handler_agg.cpp:512: /home/martin/lulu/gnash/backend/render_handler_agg.cpp:512: Assertion `x > 0' failed.
Aborted

opengl-gtk
[opens a window of minimum width sufficient to contain the menu bar, with a one-pixel-high transparent canvas that you can see the underlying window through]

cairo-gtk
[ditto, except that the one-pixel-high canvas is white]

cairo-sdl
[opens 1024x768 + window decorations, contents entirely black]

opengl-sdl
[ditto, huge window containing random garply]

Martin Guy <martinwguy>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

Attached Files
file #12095:  opengl-gtk-zeroheight.png added by martinwguy (2KiB - image/png - GTK's one-pixel-high transparent window)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by strk (Posted a comment)
  • -unavailable- added by bjacques (Posted a comment)
  • -unavailable- added by martinwguy (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 8 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sat 03 Mar 2007 04:31:03 PM UTCmartinwguyStatusNone=>Invalid
      Assigned tobjacques=>None
      Open/ClosedOpen=>Closed
    Sat 03 Mar 2007 04:08:20 PM UTCstrkSeverity5 - Blocker=>4 - Important
      Open/ClosedClosed=>Open
    Sat 03 Mar 2007 03:47:26 PM UTCmartinwguyOpen/ClosedOpen=>Closed
    Sat 03 Mar 2007 02:41:35 PM UTCbjacquesAssigned toNone=>bjacques
    Fri 02 Mar 2007 10:34:18 PM UTCmartinwguyAttached File-=>Added opengl-gtk-zeroheight.png, #12095

    Back to the top


    Powered by Savane 3.1-cleanup1