-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
skin preview screenshots in Interface preferences #1525
Conversation
The screenshots should be updated right before every release to ensure they reflect the released skins. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for working on this long pending feature.
I feel the screenshoots should scale down at least to the same height. When flipping trough the list of available skins, the options below the screenshoots jump around.
The Deere screenshoot has a good size, it could be even a bit bigger IMO (400px Edit: 200px). Hard to make out some details with the smaller screenshoots, probably even harden when using HDPi displays.
Also, should we provide the screenshoots in the vanilla skin state? E.g. in the Deere screen, stacked waveforms are visible, but are not enabled by default.
@@ -29,7 +29,7 @@ | |||
<font/> | |||
</property> | |||
<property name="text"> | |||
<string>Skin</string> | |||
<string>S&kin</string> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
String changed by accident?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
QtDesigner did this automatically. I can rebase and remove the noise from the diff.
<item row="1" column="1"> | ||
<widget class="QLabel" name="skinPreviewLabel"> | ||
<property name="text"> | ||
<string>skin preview screenshot goes here</string> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Dummy text can be excluded from the translation template.
<string notr="true">skin preview screenshot goes here</string>
<widget class="QLabel" name="labelFullscreenOption"> | ||
<property name="text"> | ||
<string>Full-screen mode</string> | ||
<string>Full-screen &mode</string> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
String changed by accident?
src/skin/skinloader.cpp
Outdated
@@ -56,6 +56,10 @@ QString SkinLoader::getSkinPath(const QString& skinName) const { | |||
return QString(); | |||
} | |||
|
|||
QPixmap SkinLoader::getSkinPreview(const QString& skinName) const { | |||
return QPixmap(getSkinPath(skinName) + "/preview.png"); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What about a more descriptive file name, e.g. preferences_skin_preview.png
or preferences_skin_screenshoot.png
?
Yes, I will redo the screenshots...
Yes, good point. I will redo the screenshots with a fresh settings directory.
Parallel waveforms are the default in Deere.
IMO details are unimportant for this. I do not want to make the screenshots so big that they clutter the preferences window. I'll try a height of 300 px. |
Shouldn't this go to master? |
It doesn't matter too much for me, but I thought you were bothered by the current behavior. IMO targeting this to master would be overly pedantic about feature freeze. The code changes are really trivial and clearly won't break anything else. OTOH reverting to the 2.0 behavior of loading skins as soon as they are selecting (before pressing Apply) would be more difficult than merging this. |
OK, than let's keep this for 2.1 |
nice, maybe you could add also a preview of the color schemes in Shade |
Yes, that is annoying. IMHO the screenshots should be all at the same width as well. We need also a default screenshot for skins without a screenshot. |
Is this still a 2.1 candidate? |
Yes. I'll update the screenshots when all pending skin PRs are merged. |
So this PR should only include the default screenshot, right? |
Yes, this PR should only show the skins in the default configurations. I'll rebase it when the time comes. |
I mean, we can merge this now, if you remove the real screenshots and add a placeholder for any skin without a screenshot. |
@Be-ing is this still a 2.1 candidate? |
What resolution should I do the screenshots at? I am thinking of taking fullscreen screenshots on my old laptop at 1366 x 768 and scaling them down to 300px or 400px height. |
They should be taken with design size. |
We can't use Shade's minimum size for the screenshots because not all skins support that. We could use the lowest common denominator size of all skins. |
Yes that's right. I mean to use the optimum screen size for each skin. I would say it is full HD for LateNight for example. For Tango, we can decide if we want to show the netbook mode or the 4 deck full scale mode. |
I propose 1280px or 1366px with default configuration: 50px waveforms, 2 decks, 2 FX units, ... |
src/preferences/dialog/dlgprefinterfacedlg.ui |
Ping! An other day delay. |
Don't merge quite yet, still a few little quirks to fix in the code. |
Please use the optimum size for the screenshots, not a unique size. |
The screenshots show the default skin configurations. |
The "(64 sampler)" skins are not showing the screenshot for their parent skin. Do you have any hints how to make that work? |
Nevermind, I'll take screenshots showing 64 samplers for those. |
Okay, done. |
Nice! |
We could change the screenshot. I took it full screen at 1366 x 768 then resized to 250px height and preserving the aspect ratio. |
#1377 implemented standard behavior for the skin selection combobox so it only changes the skin when the user presses the Apply button. To provide users a rough impression of what skins look like before they switch to a different skin, show a preview screenshot when a skin is selected with the combobox.