Page MenuHomePhabricator

MITK Diffusion: missing perspective bar on mac
Closed, ResolvedPublic

Event Timeline

Customization:

Perspective-Bar moved to rightSide

solved with IfDef APPLE in QmitkExtWorkbenchWindowAdvisor

As an addendum:

The problem is, that it is not possible to have two menu bars on top for OSX. The perspective/view bar works fine on the right/left/bottom, it just can not be docked to the top, because the Save/Close menu bar already is.

a solution was found
depening on bug-11802

Quickfix

to class-method: QtWidgetsTweakletImpl::CreateShell

add this:
#ifdef APPLE

Qt::WindowFlags qtFlags;

#else

Qt::WindowFlags qtFlags(Qt::CustomizeWindowHint);

#endif

this fix causes a problem with the drag and drop mechanism on MAC OSX (Reopen of this bug)

To do:

  • reset the Quickfix (Comment : 2012-05-03 12:35:35 CEST )
  • add the perspective bar to the right side of the mitk-main winow