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 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
                  • ankonaskiff17A Offline
                    ankonaskiff17 @lnicaodh
                    last edited by

                    @lnicaodh If it is any consolation I have 3 Pi4b’s and 1 Pi3B and they all exhibit the same behavior.
                    Ive done automated installs, manual installs 64 bit, 32 bit, and none of them function by hitting ALT key.
                    F11 will reduce size on MM screen so you can get at file manager and Shift+CTL+I will launch developer tools.

                    I suspect as prices continue to drop on Pi’s this is going to show up more and more.

                    L F 2 Replies Last reply Reply Quote 0
                    • L Offline
                      lnicaodh @ankonaskiff17
                      last edited by

                      @ankonaskiff17 I’m brand new to this so still testing on PC, but will be moving to RPi soon, thanks for letting me know what to expect!

                      It bothered me that alt+f4 left a bunch of electron processes open which prevents a new instance launching, and they are a bit stubborn to kill in the task manager.

                      I haven’t tested this but I’m thinking a solution might be to just make the app window slightly taller than the screen so that the visible frame is just beyond the display border… feels like a sad workaround but i’m hoping it’ll at least hide the unsightly edge!

                      Hopefully the issue gets resolved soon enough.

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

                        @ankonaskiff17 If you read the thread, this has nothing to do with the hardware. It’s a change that was made to the software. The price of the pi has nothing to do with this thread.

                        ankonaskiff17A 1 Reply Last reply Reply Quote 0
                        • 1
                        • 2
                        • 3
                        • 3 / 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