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

Don't explicitly set window flags when displaying the scrollback #1

Merged
merged 1 commit into from
Apr 20, 2014

Conversation

0branch
Copy link
Contributor

@0branch 0branch commented Apr 10, 2014

Explicit calls to setWindowFlags() like the following

this->fScrollbackWindow->setWindowFlags(Qt::Window);
this->fScrollbackWindow->setWindowFlags(Qt::Widget);

yield display corruption when re-enabling scrollback overlay mode (reproducible: Qt5/OSX).

These calls are unnecessary as reparenting the scrollback widget implicitly determines whether it should be displayed in a separate/independent window.

Explicit calls to setWindowFlags() like the following

    this->fScrollbackWindow->setWindowFlags(Qt::Window);
    this->fScrollbackWindow->setWindowFlags(Qt::Widget);

yield display corruption when enabling the overlay for the first time on
Qt5/OSX.

These calls are unnecessary as reparenting the scrollback widget implicitly
determines whether a widget should be displayed in a separate/independent
window.
realnc added a commit that referenced this pull request Apr 20, 2014
Don't explicitly set window flags when displaying the scrollback
@realnc realnc merged commit 9e176df into realnc:master Apr 20, 2014
@realnc
Copy link
Owner

realnc commented Apr 20, 2014

Thanks :-)

@0branch
Copy link
Contributor Author

0branch commented Apr 20, 2014

Np!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants