Bug 449902 - Brave browser's portal dialog using wrong application style (Fusion instead of Breeze)
Summary: Brave browser's portal dialog using wrong application style (Fusion instead o...
Status: RESOLVED WORKSFORME
Alias: None
Product: xdg-desktop-portal-kde
Classification: Plasma
Component: general (show other bugs)
Version: 5.24.0
Platform: Arch Linux Linux
: NOR minor
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-02-10 00:47 UTC by *bleep bleep*
Modified: 2022-05-04 04:35 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Brave's portal dialog wrong theme (44.78 KB, image/png)
2022-02-10 00:47 UTC, *bleep bleep*
Details
This is how the portal dialog *should* look like with my theme settings. (191.88 KB, image/png)
2022-02-12 20:49 UTC, *bleep bleep*
Details
This is how it actually looks like. (46.40 KB, image/png)
2022-02-12 20:49 UTC, *bleep bleep*
Details
System hang on shutdown. (112.48 KB, image/jpeg)
2022-03-02 09:09 UTC, *bleep bleep*
Details

Note You need to log in before you can comment on or make changes to this bug.
Description *bleep bleep* 2022-02-10 00:47:26 UTC
Created attachment 146513 [details]
Brave's portal dialog wrong theme

SUMMARY
***
After updating to kde plasma 5.24, Brave browser's portal dialog is using the wrong theme.
***


STEPS TO REPRODUCE
1. Open brave browser.
2. "Ctrl + S" any page to bring up the portal dialog.

OBSERVED RESULT
Portal still uses Qt dialog but wrong theme.

EXPECTED RESULT
Portal should use the right theme.

SOFTWARE/OS VERSIONS
Software: xdg-desktop-portal-kde 5.24.0-1
OS: ArcoLinuxD
KDE Plasma Version: 5.24.0
KDE Frameworks Version: 5.90.0
Qt Version: 5.12.2

ADDITIONAL INFO:
1. The wrong theme: "breeze twilight theme + breeze plasma style + kde classic cursor", when it should be: "breeze dark theme + materia color plasma style + breeze cursor".
2. I tried reinstalling xdg-desktop-portal and xdg-desktop-portal-kde but that didn't solve the issue.
3. I also tried to change the global theme to breeze light and the portal switchs from breeze twilight to breeze light. When I change the global theme back to breeze dark ( + other theme configs ) the portal changes to breeze twilight with breeze plasma style (instead of materia), however the cursor changed from KDE classic to breeze correctly.
4. I tried another gtk app (flameshot) and the file picker theme is working properly there.
5. I created a mirror of my machine in virtualbox, update all to kde plasma 5.24 and the portal dialog was using the right theme there.
Comment 1 Nate Graham 2022-02-10 23:17:51 UTC
What Application Style are you using?
Comment 2 *bleep bleep* 2022-02-11 09:17:31 UTC
(In reply to Nate Graham from comment #1)
> What Application Style are you using?

Hi Graham,
I'm using Breeze Application style.
.
Here are all the themes related settings I've made:
- Global theme: Breeze Dark.
- Application style:
   - Qt: default (Breeze).
   - GTK: default (Breeze).
- Plasma style: materia color.
- Colors: KvArcDark (this color scheme came with a package I installed alongside Kvantum but I've never used kvantum on this machine yet, only used the color scheme).
- Windows decorations: default (Breeze).
- Fonts: default all, only increased All fonts size up by 1 (from 10 to 11).
- Icons: Papirus-Dark.
- Cursors: default (Breeze).
- Splash screen: Materia Dark.
Comment 3 *bleep bleep* 2022-02-11 09:34:01 UTC
Additional info:
- When I updated to kde plasma 5.24 instead of rebooting immediately I checked out the new overview feature but it was super laggy and latte-dock's animation showed some artifacts => I stopped and rebooted. Everything was working fine now but then I found out that brave's portal dialog theme was all messed up.
- On the mirror machine in virtualbox, I rebooted right after update and the portal dialog there was fine.
---
Update:
> 3. I also tried to change the global theme to breeze light and the portal switchs from breeze twilight
> to breeze light. When I change the global theme back to breeze dark ( + other theme configs ) the
> portal changes to breeze twilight with breeze plasma style (instead of materia), however the cursor
> changed from KDE classic to breeze correctly.
- I just checked and the cursor theme in the portal dialog is back to being breeze classic.
Comment 4 Nate Graham 2022-02-11 16:18:00 UTC
So everything it working as expected now?
Comment 5 *bleep bleep* 2022-02-12 20:48:10 UTC
(In reply to Nate Graham from comment #4)
> So everything it working as expected now?

No, it is still using the wrong theme. I'll add pictures of what the wrong theme looks like (aka how it looks like on my main machine) and how it should look like (aka how it looks like on the mirror in virtualbox).
> - I just checked and the cursor theme in the portal dialog is back to being breeze classic.
This is my bad. What I meant: the cursor theme has now gone back to being "KDE Classic" (wrong theme) instead of the default "Breeze" theme.
Comment 6 *bleep bleep* 2022-02-12 20:49:34 UTC
Created attachment 146636 [details]
This is how the portal dialog *should* look like with my theme settings.
Comment 7 *bleep bleep* 2022-02-12 20:49:59 UTC
Created attachment 146637 [details]
This is how it actually looks like.
Comment 8 *bleep bleep* 2022-02-27 19:47:14 UTC
UPDATE: Everything is working as intended now!! Thanks KDE team <3
Comment 9 *bleep bleep* 2022-03-02 09:07:15 UTC
UPDATE: I have no idea what happened but suddenly today the theme got messed up again :/ Also last night when I turned off the laptop I had this error (attchment) hang there for at least a couple of minutes before shutting down. I closed every program and shutdown the computer properly so it was kinda weird to see the system checking journal and clearing orphaned inodes. Not sure how this relates to the theme bug reappearing but I thought I should still include it just to be safe.
Comment 10 *bleep bleep* 2022-03-02 09:09:02 UTC
Created attachment 147237 [details]
System hang on shutdown.
Comment 11 Harald Sitter 2022-04-04 09:03:40 UTC
Please attach the output of

```
grep -ri fusion ~/.config
grep -ri breeze ~/.config
```
Comment 12 Nate Graham 2022-04-04 16:31:55 UTC
.
Comment 13 Bug Janitor Service 2022-04-19 04:35:00 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 14 Bug Janitor Service 2022-05-04 04:35:25 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now 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

Thank you for helping us make KDE software even better for everyone!