         // Moved later, called by view, when document is available
         setFloatOverFullScreenApps()
         
-        willUpdateTitleBar()
+        updateTitleBar()
         
         willUpdateTranslucency()
         

        settings.opacityPercentage.value = sender.tag
        willUpdateAlpha()
    }

    @IBAction func translucencyPress(_ sender: NSMenuItem) {
        settings.translucencyPreference.value = HeliumPanelController.TranslucencyPreference(rawValue: sender.tag)!
        translucencyPreference = settings.translucencyPreference.value
        willUpdateTranslucency()
    }

    override func validateMenuItem(_ menuItem: NSMenuItem) -> Bool {
        switch menuItem.title {
        case "Preferences":

            Swift.print(String(format: "mouse up %@", (self.window?.title)!))
        }
        Swift.print(String(format: "mouse in %@", (self.window?.title)!))
        let lastMouseOver = mouseOver
        mouseOver = true
        updateTranslucency()
        if doc?.settings.autoHideTitle.value == true && lastMouseOver != mouseOver {
            updateTitleBar()
        }
    }
    
    override func mouseExited(with theEvent: NSEvent) {
        Swift.print(String(format: "mouse ou %@", (self.window?.title)!))
        let lastMouseOver = mouseOver
        mouseOver = false
        updateTranslucency()
        if doc?.settings.autoHideTitle.value == true && lastMouseOver != mouseOver {
            updateTitleBar()
        }
    }
    
    // MARK:- Translucency
