Uh oh!
There was an error while loading. Please reload this page.
Fix app menu calculation for random size of the right header - #10890
Conversation
skjnldsv
commented
Aug 28, 2018
Couldn't we just make sure the calculation is always done properly? |
weeman1337
commented
Aug 28, 2018
As @juliushaertl told me adding icons afterwards is working. It's just for the initial loading. |
skjnldsv
commented
Aug 28, 2018
Yes, but I don't like having hardcoded values. We shouldn't have to do that :) |
92543cd to
78d9d56Comparejuliusknorr
commented
Aug 30, 2018
I have no idea how we could do that properly. The issue is that the two divs in the header (left/right) are resized when some icons are added. Do you have an idea how we could properly calculate the icon count every time @weeman1337@skjnldsv ? |
weeman1337
commented
Aug 30, 2018
Would be easier if there is a explicit API for adding removing stuff. Maybe we should go for a fix now and improve the header bar in the future (followup)? |
rullzer
commented
Aug 30, 2018
@skjnldsv@juliushaertl can we get a decision here. I have to agree with @weeman1337 to get this in now and fix properly for 15. We are in RC so no huge changes please 😉 |
MorrisJobke
commented
Aug 30, 2018
JSUnit fails: |
rullzer
commented
Sep 4, 2018
MorrisJobke
commented
Nov 1, 2018
@juliushaertl Ping ;) |
90bc047 to
ffb3a5dComparejuliusknorr
commented
Nov 2, 2018
Tests should be fixed, let's see. |
Signed-off-by: Julius Härtl <jus@bitgrid.net>
ffb3a5d to
a696c01Comparerullzer
commented
Nov 2, 2018
Seems good right @juliushaertl ? |
juliusknorr
commented
Nov 3, 2018
Yep, remaining failures are unrelated. 😉 |
MorrisJobke
commented
Nov 13, 2018
@juliushaertl Mind to backport this? |
Fixes#10857
This PR will ensure that at least 210px of space is kept available for the right header icons. The issue in #10857 was that the number of icons to show was calculated before all right icons where loaded. This leads to different behaviour when resizing the window/loading an app that doesn't have a search.