LibreOffice looks pretty good on these screens now, but it leaves a bad first impression with the start bitmap. Fixing this is platform specific. For Linux, the relevant file is: http://opengrok.libreoffice.org/xref/core/desktop/unx/source/splashx.c The first question is how to fetch the DPI. It can't use the OutputDevice::DPIScaleFactor, so it needs to do something like "xrdb -query" or borrow some of what Saldisp::Init does: http://opengrok.libreoffice.org/xref/core/vcl/unx/generic/app/saldisp.cxx#557 The next step is to get a high-res start bitmap, and display it when appropriate. The final step is to fix the progress window which displays inside the start bitmap. I believe this is an easy hack.
Isn't this problem on all OS? Windows for example has very very small splash screen on my 3200x1800 resolution, win 8.1. Tried to screencapture, but didn't manage.
Maybe not a problem on OSX, but yes - it is a problem on Linux and Windows..
This is also a problem on Windows, but that involves different code, and a different OS to build and test. A new person might not have all that. If someone can build on Linux and Windows, they would be a good candidate to fix both. The Windows change is probably easier.
Migrating Whiteboard tags to Keywords: (EasyHack DifficultyInteresting SkillCpp TopicUI) [NinjaEdit]
JanI is default CC for Easy Hacks (Add Jan; remove LibreOffice Dev List from CC) [NinjaEdit]
One suggestion. It could be possible to not bother trying to calculate resolution, and just say that for screens greater than 1600 pixels wide (or so) use a larger bitmap.
Currently the splash image is loaded from /instdir/program. But it contains only a low resolution image. I'm not sure how to get a high res image in this directory. Once we have the high res image in this directory, we can check for screen size and pass the path of appropriately sized image to splash_load_bmp() and also fix the progress bar accordingly. So, I need help in getting a high res splash image in directory /instdir/program. Thanks.
I would talk to the designers about getting a high-res splash screen. You could also just whip up one yourself, so you can do all your coding and testing with it you are waiting for an official one from them.
Abhilash Singh committed a patch related to this issue. It has been pushed to "master": http://cgit.freedesktop.org/libreoffice/core/commit/?id=f424c8f053797bc9d559865f52822d9cbf33ae3f tdf#90794 Fix the Linux HiDPI start screen It will be available in 5.4.0. The patch should be included in the daily builds available at http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: http://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
Seems solved
Did someone add a larger bitmap? All this code does is try to use it. Also, I think the progress bar has to be tweaked for the new size/position. How does that look?
Yes, this is not solved yet. I was told on gerrit to wait for high res splash image.
Alright, let's keep open.
A polite ping, still working on this bug
Ideally we use the SVG for the splash screen. (removing ux-advice from cc)
Hmm; splash-screen code has the job of getting the screen up and shown as soon as humanly possible with an utter minimum of dependencies; as such we shouldn't be linking lot of code (eg. needed to render SVG) into this, and/or spending lots of CPU cycles rendering big complex gradients or whatever =) We still get bug reports of users launching lots of LibreOffice-s on older machines since they don't see the splash fast enough. If we need a higher-res version - we should bundle it as a PNG/BMP onto the disk. Thanks.
(In reply to Michael Meeks from comment #19) > Hmm; splash-screen code has the job of getting the screen up and shown as > soon as humanly possible... Guess the progress bar takes most of the startup time on modern systems and a few milliseconds more for svg wouldn't be a big issue. But anyway, having two images is also okay for me. What size should it be?
Patch for the progress bar and 1.5x larger image submitted. Should be available in beta, if accepted. https://gerrit.libreoffice.org/#/c/45105/
heiko tietze committed a patch related to this issue. It has been pushed to "master": http://cgit.freedesktop.org/libreoffice/core/commit/?id=e27e6720ac1f7bb1e44872a7fd3cca5f3340b16a tdf#90794 Position of progress bar on high res screens It will be available in 6.0.0. The patch should be included in the daily builds available at http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: http://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
Keith, please test the high-res screen on you display with the beta release which should be ready tomorrow. The image size and position of the progressbar is of interest (had to simulate high-res).
/done