Bug 433083 - Searching for the first time sometimes breaks the layouting
Summary: Searching for the first time sometimes breaks the layouting
Status: RESOLVED FIXED
Alias: None
Product: plasmashell
Classification: Plasma
Component: Application Launcher (Kickoff) widget (show other bugs)
Version: 5.21.0
Platform: Other Linux
: VHI normal
Target Milestone: 1.0
Assignee: David Edmundson
URL:
Keywords:
: 433163 434479 (view as bug list)
Depends on:
Blocks:
 
Reported: 2021-02-17 16:03 UTC by Albert Astals Cid
Modified: 2021-10-18 13:57 UTC (History)
8 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Albert Astals Cid 2021-02-17 16:03:05 UTC
How to reproduce:
 * kquitapp5 plasmashell 
 * plasmashell &
 * Alt+F1
 * Type "sys"
 * Layout breaks https://i.imgur.com/BX3ZbiK.png
 * Press Esc
 * Layout still broken https://i.imgur.com/2dwj6rp.png

On following times you open the menu it seems to work fine, but breaking on the first time gives a really bad impression ^_^


KDE Plasma Version: 5.21.0
KDE Frameworks Version: 5.79.0
Qt Version: 5.15.2
Comment 1 Nate Graham 2021-02-17 19:25:39 UTC
I cannot reproduce the issue with those steps, but Kai consistently can. Marking as confirmed on the basis of that. :)
Comment 2 David Edmundson 2021-02-17 23:04:55 UTC
Kai found it.

>I start a search, then the *Kirigami plugin* gets a language change event, which calls *QQmlEngine::retranslate* which re-evaluates all bindings and then restores the width of the full representation item to some old initial value

>Kai Uwe, [17.02.21 18:19]
ok so whenever you call intsallTranslator qt emits language change

>and apparently some krunner module loads a library that pulls in phonon4qt5 which has a prerouting to install a translator


Which explains why it's only first run, and why I and Nate are not affected.
Comment 3 Nate Graham 2021-02-18 01:24:12 UTC
Wow.
Comment 4 Nate Graham 2021-02-18 15:08:17 UTC
*** Bug 433163 has been marked as a duplicate of this bug. ***
Comment 5 David Redondo 2021-03-17 07:59:43 UTC
*** Bug 434479 has been marked as a duplicate of this bug. ***
Comment 6 Nate Graham 2021-08-07 15:06:25 UTC
Is anyone who was affected before still experiencing this with the latest git master Kickoff with Noah's code rewrite? I know it did a lot to regularize the size code.
Comment 7 Albert Astals Cid 2021-08-07 20:46:20 UTC
Latest git you mean an unreleased version or Plasma 5.22.4 ?
Comment 8 Nate Graham 2021-08-07 20:47:19 UTC
git master, not git stable branch
Comment 9 Albert Astals Cid 2021-08-07 21:18:53 UTC
I don't build Plasma myself, so can't help here.
Comment 10 Bug Janitor Service 2021-08-22 04:36:34 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 11 Albert Astals Cid 2021-08-22 16:25:36 UTC
Moving back to confirmed since it's not fair to autoclose a bug because the reporters are not using the development version.
Comment 12 Albert Astals Cid 2021-08-29 09:01:46 UTC
Lol What? Why did you decide to not make it confirmed anymore?
Comment 13 David Edmundson 2021-09-23 11:59:00 UTC
>Moving back to confirmed since it's not fair to autoclose a bug because the reporters are not using the development version.

Maybe it shouldn't be autoclosed, but it still needs someone who has able to reproduce it to try to reproduce it before any action can continue now that the code has changed. I could not reproduce on a test VM with a different language.

The moving to needsinfo was absolutely fine. 
I'll use a different status so the bot won't autoclose it.
Comment 14 Bug Janitor Service 2021-10-08 04:36:09 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 15 Albert Astals Cid 2021-10-18 10:04:07 UTC
I can't reproduce it anymore with Plasma 5.23
Comment 16 Nate Graham 2021-10-18 13:57:55 UTC
Yay!