-
Notifications
You must be signed in to change notification settings - Fork 42
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
main toolbar rework (integrate player dialog) #544
Conversation
font for timestamp display is cuser-configurable (just click on timestamp) tested successfully on: - Linux openSuse tumbleweed, SWT & JFX - Windows 10, SWT & JFX - FreeBSD, SWT built but not tested: FreeBSD, JFX not built, not tested: MacOS, Android Modification should have no impact on Android version Most probably some adjustment will be needed. Possibly also bug fixes still TODO: - check if default font for timestamp is OK on MacOS (need a monospaced font) - documentation update
@guiv42, I just cloned your toolbar branch. It seems to work fine on BSD and Linux and for me it looks good! Also the JFX version works on MacOS (maybe I have to fine tune the font settings a little bit): But the SWT version freezes on MacoS with the following error:
Unfortunately, the MacOS code is a little outdated. I also noticed that when playing a selection, the timestamp always starts at zero. Is that intentional? |
Thanks for your feedback. That's bad news for macOS: I can't debug this, and it seems the problem comes from SWT itself. I will try to downgrade SWT on Linux to see if I can reproduce, but I'm not very optimistic.
I've seen this also. To be honest, no it wasn't intentional. But finally I think it makes sense. If you think it's better to display the absolute timestamp I can have a look. |
Your toolbar branch works fine with SWT 4.26 on macOS! Should I apply the patch #355 (comment) to tuxguitar-next? It would also help me to upgrade my build system from macOS 11 to 14. Maybe the patch #355 (comment) from 2.0beta helps to update the macOS code.
I think a black display is confusing, so I would prefer "0:00:00.0", or better "-:--:--.-"? |
Good, thanks!
No, not yet. I agree we shall target this SWT upgrade, but it's a bit early. I'm currently analyzing #355, more details to come soon.
Unfortunately I don't think so.
You're right, "-:--:--.-" looks the best solution, I'll do this and update PR. Thanks! |
see #533
@helge17: I would like to have your opinion before merging, it's always highly subjective when it comes to user interface.
This evolution targets a version 2.0 and is inspired by 2.0beta fork, but I'm following a more conservative path.
Timestamp display is the most challenging evolution: