app-center icon indicating copy to clipboard operation
app-center copied to clipboard

Safe window size with gsettings after logout/login

Open fthx opened this issue 3 years ago • 9 comments

Hi,

Not lost during a session, though. Using snap, at least.

fthx avatar Oct 09 '22 15:10 fthx

I noticed this because of responsive design. By default, I get:

image

and that does shorten menu labels if too long.

fthx avatar Oct 09 '22 15:10 fthx

@Jupi007 reworked the navigation inside yaruwidgets We've taken the dots because those translations can be extremely long and span into a second or third row Which also looks weird We plan to add tooltips to help with reading the string Or should we reconsider to use TextOverflow.visible? @Jupi007

Feichtmeier avatar Oct 09 '22 15:10 Feichtmeier

Oh from my pov, if the window get its position stored, there is no issue with dots. I think any user will resize the window in a way that fits his taste.

fthx avatar Oct 09 '22 16:10 fthx

Oh, this is annoying... I didn't though about a small word followed by a long one (which is quite common in French).

The only solution I found would be:

var label = 'Mes applications';
// ...
label.replaceAll(' ', '\u00A0');

Capture d’écran du 2022-10-10 10-48-24

Which replace all spaces with an unbreakable character. In fact we cannot expand the text widget as we are in a column, so we need to use a trick...

We could add a patch here, but this is not the good solution. We need to fix that in yaru_widgets directly.

Jupi007 avatar Oct 10 '22 09:10 Jupi007

If you wrote "My Applications" that runs into the same issue in EN. :-p

fthx avatar Oct 10 '22 10:10 fthx

Indeed, but the english label is My apps ;) In fact when I reworked the rail, all labels was all in one long word, so it hasn't this problem of text wrap with space.

Jupi007 avatar Oct 10 '22 10:10 Jupi007

Indeed, but the english label is My apps

This should be Installed

madsrh avatar Oct 10 '22 10:10 madsrh

Indeed, but the english label is My apps

This should be Installed

I don't think so We did not decide or discuss yet what should be included.

Feichtmeier avatar Oct 10 '22 10:10 Feichtmeier

I don't think so

👍 Right!

What I meant to say was that these might change, so there's no reason to be nitpicking words (yet)

madsrh avatar Oct 10 '22 10:10 madsrh