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

Setting 'border-top' property for QMdiArea in style.css causes LMMS to freeze when maximizing any subwindow #7603

Open
1 task done
z-up opened this issue Nov 25, 2024 · 1 comment
Labels

Comments

@z-up
Copy link
Contributor

z-up commented Nov 25, 2024

System Information

Windows 10

LMMS Version(s)

lmms-1.3.0-alpha.1.102+g89fc6c960-mingw-win64

Most Recent Working Version

No response

Bug Summary

Setting 'border-top' property for QMdiArea in style.css causes LMMS to freeze when maximizing any subwindow (like Piano Roll or Song Editor)

Expected Behaviour

Not freezing

Steps To Reproduce

  1. Set border-top property for QMdiArea in style.css (e.g. border-top: 1px solid black;)
  2. Open LMMS
  3. Maximize Song Editor
  4. Try changing horizontal zooming, for example

Logs

Click to expand
  

Screenshots / Minimum Reproducible Project

No response

Please search the issue tracker for existing bug reports before submitting your own.

  • I have searched all existing issues and confirmed that this is not a duplicate.
@z-up z-up added the bug label Nov 25, 2024
@michaelgregorius
Copy link
Contributor

I can reproduce this. If I manually break execution with a debug build I very often land in the following method/context of TrackContentWidget::

[...]
QPainter::drawLine(QPainter * const this, const QLineF & l) (/usr/include/qt/QtGui/qpainter.h:531)
lmms::gui::TrackContentWidget::updateBackground(lmms::gui::TrackContentWidget * const this) (/home/michael/Eigene Dateien/Development/LMMS/lmms-dev-mg/lmms/src/gui/tracks/TrackContentWidget.cpp:145)
lmms::gui::TrackContentWidget::resizeEvent(lmms::gui::TrackContentWidget * const this, QResizeEvent * resizeEvent) (/home/michael/Eigene Dateien/Development/LMMS/lmms-dev-mg/lmms/src/gui/tracks/TrackContentWidget.cpp:647)
libQt5Widgets.so.5!QWidget::event(QEvent*) (Unbekannte Quelle:0)
[...]

Due to the fact that only a CSS property of Qt's QMdiArea is changed I wonder if it some strange update conflict/loop between the QMdiArea and its children.

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

No branches or pull requests

2 participants