Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enable DragMove on unused RibbonTabControl space like in Office 2013 #207

Closed
maurosampietro opened this issue Dec 3, 2015 · 3 comments
Closed
Assignees
Milestone

Comments

@maurosampietro
Copy link
Contributor

In microsoft word i can double click the ribbon on an empty area to maximizes or restore the window, and you can keep mouse down and move the window, even if clicking at tabs level.

In fluent ribbon this behavior is achieved only if clicking on at the minimize/mazimizes/close buttons level (eg where i'd click on a standard window).

Some themes render a glass frame that do not cover the entire ribbon. This glass frame looks like a bigger titlebar and I would expect at least this to behave as the title bar but it does not.

To me ribbon looks like and extended title bar so i feel it should behave like a title bar. Microsoft in facts did this way.

Hope to help. Thank you.

@batzen
Copy link
Member

batzen commented Dec 3, 2015

I can't move the word window when i click, hold and move the mouse on tabs level.

Every other behavior, regarding window handling (moving, maximizing, minimizing, closing), is implemented in this library and works perfectly well.

I don't know what you mean with "Some themes render a glass frame that do not cover the entire ribbon. This glass frame looks like a bigger titlebar and I would expect at least this to behave as the title bar but it does not.".
Could you provide a screenshot to clarify?

@maurosampietro
Copy link
Contributor Author

A regular window has a titlebar that is visually separated from the ribbon just below it. This is the part of the window that allows move/mazimize/restore.
In a regular window i don't expect the ribbon to extend the titlebar behavior because it looks separated.
For regular window I intend the window you can run from your FluentTest.exe -> Test->Open Regular-Window.

In a RibbonWindow the titlebar and ribbon are styled so that the ribbon looks inside the titlebar. In particular if a office 2010 theme is applied the titlebar (glass frame) looks bigger and the ribbon is contained in this frame. I would expect this glass frame to extend the title bar behavior, but it does not. It works only if clicks are above the tabs (eg: on what was the titlebar in a regular window not styled) . For RibbonWindow i mean FLuentTest.exe->Test->Open Ribbon.Window (ShowDialog).

On the other hand Word can be moved/mazimized/restored if you click on the ribbon in a blank area (not on tabs), even at tabs level (mouse vertically aligned with tabs). The ribbon actually replaces the titlebar.

animation

As you see i click on a blank area but the vertical position of the mouse is at the tabs level. In fluent this works only if the vertical position of the mouse is above the tabs.

@batzen
Copy link
Member

batzen commented Dec 8, 2015

You are right, that's not implemented in this library.
Will see what I can do.

@batzen batzen added this to the 4.2.0 milestone Dec 8, 2015
@batzen batzen self-assigned this Dec 8, 2015
@batzen batzen changed the title Title bar Enable DragMove on empty RibbonTabControl space like in Office 2013 Dec 9, 2015
@batzen batzen changed the title Enable DragMove on empty RibbonTabControl space like in Office 2013 Enable DragMove on unused RibbonTabControl space like in Office 2013 Dec 9, 2015
@batzen batzen modified the milestones: 4.0.0, 4.2.0 Dec 18, 2015
@batzen batzen closed this as completed in 8b5baa0 Dec 18, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants