Bug 476509 - Color dialog is not usable when invoked from Color Picker widget
Summary: Color dialog is not usable when invoked from Color Picker widget
Status: RESOLVED FIXED
Alias: None
Product: kdeplasma-addons
Classification: Plasma
Component: Color Picker (show other bugs)
Version: master
Platform: Other Linux
: NOR major
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords: qt6, regression
Depends on:
Blocks:
 
Reported: 2023-11-03 14:44 UTC by Fushan Wen
Modified: 2024-03-26 16:40 UTC (History)
4 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Fushan Wen 2023-11-03 14:44:51 UTC
There is no color dialog fallback in plasma-integration.
Comment 1 Nate Graham 2023-11-03 20:45:47 UTC
Probably needs the same treatment as https://invent.kde.org/plasma/plasma-integration/-/merge_requests/115.
Comment 2 Nicolas Fella 2023-11-10 16:00:05 UTC
The problem is that the default dialog is a QQC2 dialog, which by its nature is constrained to its window. The window here is tiny though and we expect the dialog to be it's own window and thus be able to go beyond the original window
Comment 3 Nicolas Fella 2023-11-10 16:08:04 UTC
(In reply to Nate Graham from comment #1)
> Probably needs the same treatment as
> https://invent.kde.org/plasma/plasma-integration/-/merge_requests/115.

I tried that, but it doesn't work because of https://bugreports.qt.io/browse/QTBUG-119055
Comment 4 Bug Janitor Service 2024-01-04 15:08:19 UTC
A possibly relevant merge request was started @ https://invent.kde.org/plasma/kdeplasma-addons/-/merge_requests/523
Comment 5 Fushan Wen 2024-01-10 11:54:07 UTC
Git commit 797cef06882acdf4257d8c90b8768a74fdef0955 by Fushan Wen.
Committed on 10/01/2024 at 12:53.
Pushed by fusionfuture into branch 'master'.

applets/colorpicker: add parent window for color dialog

This is necessary because the native color dialog is broken
in QML6, and the panel can't accommodate a full QML color dialog.

See also: https://bugreports.qt.io/browse/QTBUG-119055
FIXED-IN: 6.0

M  +23   -7    applets/colorpicker/package/contents/ui/main.qml

https://invent.kde.org/plasma/kdeplasma-addons/-/commit/797cef06882acdf4257d8c90b8768a74fdef0955
Comment 6 Roke Julian Lockhart Beedell 2024-03-22 16:12:20 UTC
Sorry if I'm wrong, but so that I'm not needlessly tracking this if I'm looking for something else, is https://discuss.kde.org/t/whats-happened-to-the-wallpaper-colour-picker-is-this-expected/12785?u=rokejulianlockhart what this issue is for?