HTMLDialog issues on Mac: #set_can_close doesn't seem to work

Hi All,

I was wondering if anyone else has run into this issue. I currently have an HTML dialog which I would like to ensure the user doesn’t close.

On windows, I just set the ‘Set can close’ value to false, which works great. But on Mac it doesn’t seem to do anything.

Have any of you run into this, or found a solution? Am i doing anything obviously silly?

options = {
            :dialog_title => 'Shy Ghost',
            :style => UI::HtmlDialog::STYLE_WINDOW,
            :scrollable => false,
            :resizable => false,
            :width => 240,
            :height => 240

        dialog =
        dialog.set_position(5000, 5000)
        dialog.set_can_close { false }

Have you checked the official API Issue Tracker ?

I find …

Obviously I didn’t… Thanks Dan. I’ll check it out a bit more in the future.

@thomthom & @Mark
Although there is no solution to the glitter fading from my shirt or the hair falling from my head, I feel that SU-46390 might solve one of my problems. HAHA.