Mozilla

NAVIGATION
CATEGORIES
REFERRENCE
LINKS
  • hidecrome on mac os don't work!

    7 answers - 341 bytes - related search similar search Add To My Delicious Add To My Stumble Upon Add To My Google Mark Add To My Facebook Add To My Digg Add To My Reddit

    Hi all,
    i'm testing xulrunner (1.8.0.4) on my iMac(Intel), and i have a problem
    to hidden the window titlebar of my application. If i set
    hidechrome="true" don't work!
    Any idea?
    (-- on linux, instead, work perfectly --)
    dev-tech-xul mailing list
    dev-tech-xul (AT) lists (DOT) mozilla.org
  • No.1 | | 684 bytes | |

    hidechrome on mac does not work. I have faced this problem too.

    Unfortunately, i have found no simple solution to this. Except to open
    the content in a new window using "window.open" and give the
    titlebar=no as one of the flags in the 3rd argument.

    This new window then opens without the titlebar.

    daniele wrote:
    Hi all,
    i'm testing xulrunner (1.8.0.4) on my iMac(Intel), and i have a problem
    to hidden the window titlebar of my application. If i set
    hidechrome="true" don't work!
    Any idea?

    (-- on linux, instead, work perfectly --)

    dev-tech-xul mailing list
    dev-tech-xul (AT) lists (DOT) mozilla.org
  • No.2 | | 714 bytes | |

    Navin wrote:
    hidechrome on mac does not work. I have faced this problem too.

    Unfortunately, i have found no simple solution to this. Except to open
    the content in a new window using "window.open" and give the
    titlebar=no as one of the flags in the 3rd argument.

    I try your solution, but don't work: in my window i have a "button" to
    call this function:

    function my_open(){
    window.open("chrome://path_to/my.xul","title","chrome,titlebar=no");
    }

    The result is the creation of new window with titlebar. (If i set
    chrome=no as third argument the window don't appear)

    dev-tech-xul mailing list
    dev-tech-xul (AT) lists (DOT) mozilla.org
  • No.3 | | 1725 bytes | |

    Daniele,

    Do you get a titlebar that no longer has functioning widgets? When I
    try titlebar=no in XULRunner I get the usual chrome, but with the
    widgets in the titlebar grayed out. In Firefox, I see no difference at
    all, as if titlebar=no did not do a thing.

    I've seen this titlebar=no thing all over the 'nets as the solution to
    this problem, but only once have I seen someone respond that this only
    disabled the widgets. That was on Google Groups and there was no
    response after that comment. My guess is that for some setups this
    actually does work, but for others it does not. Can anyone vouch for
    titlebar=no working and if so, what exactly are you running your XUL
    on?

    To refresh the memory: we are speaking specifically about getting rid
    of system provided chrome on the Mac.

    Daniel

    10/24/06, daniele <daniele.rizzo (AT) spacespa (DOT) itwrote:
    Navin wrote:
    hidechrome on mac does not work. I have faced this problem too.

    Unfortunately, i have found no simple solution to this. Except to open
    the content in a new window using "window.open" and give the
    titlebar=no as one of the flags in the 3rd argument.

    I try your solution, but don't work: in my window i have a "button" to
    call this function:

    function my_open(){
    window.open("chrome://path_to/my.xul","title","chrome,titlebar=no");
    }

    The result is the creation of new window with titlebar. (If i set
    chrome=no as third argument the window don't appear)

    dev-tech-xul mailing list
    dev-tech-xul (AT) lists (DOT) mozilla.org

    dev-tech-xul mailing list
    dev-tech-xul (AT) lists (DOT) mozilla.org
  • No.4 | | 193 bytes | |

    Mac, Songbird (based on xulrunner) hides the titlebar Now i study
    the source of this application
    dev-tech-xul mailing list
    dev-tech-xul (AT) lists (DOT) mozilla.org
  • No.5 | | 695 bytes | |

    daniele wrote:
    Mac, Songbird (based on xulrunner) hides the titlebar Now i study
    the source of this application

    What we do:

    var mainwin = "";
    window.open( mainwin, "",
    "chrome,modal=no,titlebar=no,resizable=no,toolbar=n o,popup=no,titlebar=no"
    );

    Apparently, we REALLY want to make sure titlebar=no :)

    Also, the file mainwin.xul has its window with hidechrome="true"

    The primary window that xulrunner opens up first is something we hide
    from the user. If you want to control that, I think you have to set a
    prefs var.

    mig (at songbirdnest)

    dev-tech-xul mailing list
    dev-tech-xul (AT) lists (DOT) mozilla.org
  • No.6 | | 883 bytes | |

    Even with the above options (given my mig) to window.open, the title
    bar does not hide. So I guess SongBird has some additional magic - any
    help, songbird devs?

    mig wrote:
    daniele wrote:
    Mac, Songbird (based on xulrunner) hides the titlebar Now i study
    the source of this application

    What we do:

    var mainwin = "";
    window.open( mainwin, "",
    "chrome,modal=no,titlebar=no,resizable=no,toolbar=n o,popup=no,titlebar=no"
    );

    Apparently, we REALLY want to make sure titlebar=no :)

    Also, the file mainwin.xul has its window with hidechrome="true"

    The primary window that xulrunner opens up first is something we hide
    from the user. If you want to control that, I think you have to set a
    prefs var.

    mig (at songbirdnest)

    dev-tech-xul mailing list
    dev-tech-xul (AT) lists (DOT) mozilla.org
  • No.7 | | 1055 bytes | |

    Hmmm. We also do
    -moz-appearance: none !important;

    in all of our css (but that shouldn't supposedly make much difference).

    mig

    Navin wrote:
    Even with the above options (given my mig) to window.open, the title
    bar does not hide. So I guess SongBird has some additional magic - any
    help, songbird devs?

    mig wrote:
    daniele wrote:
    Mac, Songbird (based on xulrunner) hides the titlebar Now i study
    the source of this application

    What we do:

    var mainwin = "";
    window.open( mainwin, "",
    "chrome,modal=no,titlebar=no,resizable=no,toolbar=n o,popup=no,titlebar=no"
    );

    Apparently, we REALLY want to make sure titlebar=no :)

    Also, the file mainwin.xul has its window with hidechrome="true"

    The primary window that xulrunner opens up first is something we hide
    from the user. If you want to control that, I think you have to set a
    prefs var.

    mig (at songbirdnest)

    dev-tech-xul mailing list
    dev-tech-xul (AT) lists (DOT) mozilla.org

Re: hidecrome on mac os don't work!


max 4000 letters.
Your nickname that display:
In order to stop the spam: 6 + 5 =
QUESTION ON "Mozilla"

EMSDN.COM