MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    A New Chapter for MagicMirror: The Community Takes the Lead
    Read the statement by Michael Teeuw here.

    Alt Key Doesn't Open Menu

    Scheduled Pinned Locked Moved Bug Hunt
    21 Posts 5 Posters 6.7k Views 5 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • S Offline
      sdetweil @Fifteen15Studios
      last edited by

      @Fifteen15Studios what menu were you talking about?

      mm is a browser app, so that is it’s frame’s menu,
      I have never seen anything else

      Sam

      How to add modules

      learning how to use browser developers window for css changes

      F 1 Reply Last reply Reply Quote 0
      • F Offline
        Fifteen15Studios @sdetweil
        last edited by

        @sdetweil It used to pop down the browser’s menu. With a File, Tools, etc. I could get it to show developer mode from that menu, and more.

        S 2 Replies Last reply Reply Quote 0
        • S Offline
          sdetweil @Fifteen15Studios
          last edited by

          @Fifteen15Studios I guess electron must have changed its behavior.

          Sam

          How to add modules

          learning how to use browser developers window for css changes

          1 Reply Last reply Reply Quote 0
          • S Offline
            sdetweil @Fifteen15Studios
            last edited by

            @Fifteen15Studios I see how to do the disable in code, but we don’t do that.

            window.removeMenu()

            I do not see any mention of changing the default behavior or how to enable it

            Sam

            How to add modules

            learning how to use browser developers window for css changes

            F karsten13K 2 Replies Last reply Reply Quote 0
            • F Offline
              Fifteen15Studios @sdetweil
              last edited by

              @sdetweil It only seemed to happen with a fresh install. I had an older version installed that I just continuously updated for months and never had this issue. But with a fresh install, behavior is different. Maybe there’s something that changed in the install script that causes it?

              S 1 Reply Last reply Reply Quote 0
              • karsten13K Offline
                karsten13 @sdetweil
                last edited by

                @sdetweil said in Alt Key Doesn't Open Menu:

                I see how to do the disable in code, but we don’t do that.

                we are using frame: false in electronOptions

                L 1 Reply Last reply Reply Quote 1
                • S Offline
                  sdetweil @Fifteen15Studios
                  last edited by

                  @Fifteen15Studios well, we upgraded the to a newer version of electron. everyone keeps changing things…

                  Sam

                  How to add modules

                  learning how to use browser developers window for css changes

                  1 Reply Last reply Reply Quote 1
                  • L Offline
                    lnicaodh @karsten13
                    last edited by

                    Hi,

                    I’ve got the same issue (no menu when hitting alt).

                    Inspired by @karsten13 's post I tested out changing
                    “electronOptionsDefaults.frame = false;” to true in electron.js and this gave me the window toolbar just fine, but it was always on. Trying a few other things still hasnt given me the ‘sometimes on’ functionality.

                    I also don’t know if there is another electronOptions I should be changing instead of the defaults inside of electron.js

                    Short of writing a new function to set frame to true on a button press (which I’m not even sure would work, because the settings are passed in at window creation), I’m not sure where to go next.

                    So I know roughly what to investigate, but I’m still a bit lost. If anyone else has solved this issue or has any suggestions I’d be very grateful!

                    S ankonaskiff17A 2 Replies Last reply Reply Quote 0
                    • S Offline
                      sdetweil @lnicaodh
                      last edited by

                      @lnicaodh you can look thru the electron config option on the electron site. lots of them

                      Sam

                      How to add modules

                      learning how to use browser developers window for css changes

                      1 Reply Last reply Reply Quote 0
                      • L Offline
                        lnicaodh
                        last edited by

                        As a partial fix for this:

                        Add the following to your config.js

                        electronOptions:
                            {
                        		frame: true,
                        		autoHideMenuBar: true
                            }
                        

                        However, this has the issue of still showing the outer frame of the window, which obviously isn’t ideal.

                        I need to move on from troubleshooting this particular issue so this will have to do for now. Hopefully someone in future can solve it for real.

                        1 Reply Last reply Reply Quote 0
                        • 1
                        • 2
                        • 3
                        • 1 / 3
                        • First post
                          Last post
                        Enjoying MagicMirror? Please consider a donation!
                        MagicMirror created by Michael Teeuw.
                        Forum managed by Sam, technical setup by Karsten.
                        This forum is using NodeBB as its core | Contributors
                        Contact | Privacy Policy