You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Timeline undocked doesn't allow vertical resize bigger than when docked #17100
UIVisual issues affecting the UI (not notation)communityIssues particularly suitable for community contributors to work ongood first issueIssues suitable for first-time contributors. See https://github.com/musescore/MuseScore/contribute
Bring up the Timeline (F12). By default, it's small along the bottom of the main panel. Resize vertically larger and it only goes so far. Undock the Timeline and try to resize bigger. It stops at the same height. It should be able to fill the screen.
Steps to reproduce
Bring up the Timeline (F12). By default, it's small along the bottom of the main panel.
Resize vertically larger and it only goes so far.
Undock the Timeline and try to resize bigger. It stops at the same height. It should be able to fill the screen.
@Eism Friendly bump. This vertical size limitation still exists in 4.4.3. It would be helpful to see and navigate all the score's staves in the Timeline when undocked (and placed on a 2nd monitor). Additionally the behavior is inconsistent compared to the Navigator (which can't be undocked, but can be dragged all the way up).
Looks like the max height of those horizontal panels is simply hardcoded at 520 px. I'd think we can just remove that maximum height. That'd make this a good first issue.
Or @Eism do you know if there is a specific reason for this max height?
good first issueIssues suitable for first-time contributors. See https://github.com/musescore/MuseScore/contribute
communityIssues particularly suitable for community contributors to work on
@cbjeukendrup I setup a dev env. and began exploring. I'm likely missing something, but I'm not finding the height hardcoded anywhere. In /notation/view/widgets/timeline.cpp, it appears the height is calculated based on the number of staves and meta elements (Tempo, Time Sig. etc.)
Or @Eism do you know if there is a specific reason for this max height?
I think it's just done to leave at least a little space for notation view in minimum window size. This limit is set for all horizontal panels on the page.
@eakwarren, the maximum height of the panel is determined by the maximumHeight property: root.horizontalPanelMaxHeight // 520 for timelinePanel in NotationPage.qml
The previous commit was to set the mixer panel height and the timeline panel used the same setting.
@cbjeukendrup@Eism I've commented out the line, compiled, tested both docked/floating cases. PR#25398 (I know the PR is trivial, but I hope I did it right since it's my first PR.) Cheers!
UIVisual issues affecting the UI (not notation)communityIssues particularly suitable for community contributors to work ongood first issueIssues suitable for first-time contributors. See https://github.com/musescore/MuseScore/contribute
Activity
eakwarren commentedon Oct 31, 2024
@Eism Friendly bump. This vertical size limitation still exists in 4.4.3. It would be helpful to see and navigate all the score's staves in the Timeline when undocked (and placed on a 2nd monitor). Additionally the behavior is inconsistent compared to the Navigator (which can't be undocked, but can be dragged all the way up).
Kapture.2024-10-31.at.09.45.31.mp4
cbjeukendrup commentedon Oct 31, 2024
Looks like the max height of those horizontal panels is simply hardcoded at 520 px. I'd think we can just remove that maximum height. That'd make this a good first issue.
Or @Eism do you know if there is a specific reason for this max height?
eakwarren commentedon Nov 1, 2024
@cbjeukendrup I setup a dev env. and began exploring. I'm likely missing something, but I'm not finding the height hardcoded anywhere. In /notation/view/widgets/timeline.cpp, it appears the height is calculated based on the number of staves and meta elements (Tempo, Time Sig. etc.)
There's also the following in timeline.h
I also poked around in /framework/dockwindow/thirdparty/KDDockWidgets/FloatingWindow files, but didn't see any default size restrictions.
If I'm way off, please point me in the right direction as I'm happy to continue working this issue.
Eism commentedon Nov 1, 2024
I think it's just done to leave at least a little space for notation view in minimum window size. This limit is set for all horizontal panels on the page.
@eakwarren, the maximum height of the panel is determined by the
maximumHeight property: root.horizontalPanelMaxHeight // 520for timelinePanel in NotationPage.qmlcbjeukendrup commentedon Nov 1, 2024
Shouldn't that be achieved by setting a minimum height on the notation view?
eakwarren commentedon Nov 1, 2024
The previous commit was to set the mixer panel height and the timeline panel used the same setting.
@cbjeukendrup @Eism I've commented out the line, compiled, tested both docked/floating cases. PR#25398 (I know the PR is trivial, but I hope I did it right since it's my first PR.) Cheers!