close
Skip to content

MDI Interface bug with Ubuntu Unity #488

@tresf

Description

@tresf

screen shot 2014-03-18 at 11 40 49 pm

As seen in the above picture, there is a bug with QMdiArea and Ubuntu's Unity interface which puts the Minimize/Restore/Maximize buttons in the upper left corner of LMMS (instead of the upper right) and erroneously attaches it to a movable toolbar.

I couldn't find anywhere on the internet explaining this QT/Unity combination behavior, but @tobydox suggested it was due to the Unity menu relocation, and eventually stumbled upon this article https://wiki.ubuntu.com/DesktopExperienceTeam/ApplicationMenu#Troubleshooting in the "Kubuntu Desktop Installation" provides the hint, which allows QT applications to disable the Desktop Environment from rendering it's own native menubar:

QT_X11_NO_NATIVE_MENUBAR=1 lmms

or for the .desktop file:

[Desktop Entry]
Exec=env QT_X11_NO_NATIVE_MENUBAR=1 lmms

Ubuntu 14.04 beta x86

screen shot 2014-03-18 at 11 45 46 pm

NOTE! The env parameter is REQUIRED in the desktop shortcut, but not in terminal.

Before applying this patch, we should hear from other X11 based Desktop Environment users after testing this feature.

Is anyone running another X11 Desktop Environment that is able to try this? Please chime in if you can help test this!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions