WebDialog Sheet - transparent and right justified after creation

Xojo 2015r4

I’ve created several web dialogs (sheets) that work a few times until I save and open project, then the Sheet has a transparent background and the window is right justified (Safari 9.0.2). Affects 4/8 web dialogs (so far) started with 1.

I thought i might be because I copy/paste because they had similar layouts, but then it happened to a web dialog that I created from scratch.

Ruining project…Has anyone seen this behavior?

Make sure you’re not running a beta or fc. This was fixed right at the end before we released.

Hi Greg,

2015 r4 - confirmed

Feedback Case
41960 - Webdialog Sheet converts to Transparent Background and Right Aligned after saving project

Greg, is it possible that R4 isn’t converting prior projects (R3.1) web dialog correctly?

There’s nothing to convert. There was a bug during the beta cycle which caused WebDialogs to lose their position and size info (transparent = width & height @ 0px in this case), but we restored that functionality before 2015r4 was released.

Reading through your posts, I’m having trouble figuring out if this happens with new dialogs created in 2015r4, projects from earlier versions or both.

The Project was created in r3.1. Project was updated to r4. Some dialogs were new. Some were brought in from r3.1 Both have the same issue.

What type of project is this? Binary, xml or text?

Text. I wanted to test poc XML as well to see if it’s still happening, and it is…;(

I had a project that did the same. I removed the dialog from the page & added it back. Cleared the problem. That dialog was working normally then became broken, but I can’t remember whether I placed it on the page during the Beta cycle or later.

I’ve been deleting and recreating for a week now. After you save and re-open project, the problem comes back.

It’s a bummer because I spent a lot of time trying to put together a poc for a project.

What about instanciating it in code, instead of dragging it onto the page ?

Greg,

I may have worked out what’s causing the issue. I edited the XML project and added back in the Height and Width for all of the Web Dialogs. When saved and run as XML all works fine (sigh of relief). However, when I saved as TEXT, to use with git, the Height and Width get’s lost and Web Dialogs show up transparent and right aligned again.

So… even though I can get it to work, it doesn’t really help since I need these files to be under version control (blood pressure increases) :wink:

The files I use from day to day are TEXT, the Feedback project I sent you is XML. This is why it worked for you at first. I’m thinking if you save as TEXT you’ll see the issue…

Cheers

interesting …
that gives me an idea then