| Summary: | Color Picker: ColorSliderControl slider does not change colour pallet with picks on the ColorSliderControl, it becomes functional only with a pick from the ColorFieldControl or change in color mode | ||
|---|---|---|---|
| Product: | LibreOffice | Reporter: | Q <oneq> |
| Component: | LibreOffice | Assignee: | Caolán McNamara <caolan.mcnamara> |
| Status: | VERIFIED FIXED | ||
| Severity: | normal | CC: | aron.budea, caolan.mcnamara, miguelangelrv, oneq, vsfoote |
| Priority: | medium | ||
| Version: | 4.4.0.3 release | ||
| Hardware: | x86-64 (AMD64) | ||
| OS: | Windows (All) | ||
| See Also: | https://bugs.documentfoundation.org/show_bug.cgi?id=85590 | ||
| Whiteboard: | target:7.5.0 target:7.4.3 | ||
| Crash report or crash signature: | Regression By: | ||
| Attachments: | Custom Colour.... | ||
|
Description
Q
2022-10-23 10:38:58 UTC
Created attachment 183216 [details]
Custom Colour....
Unexpected situation
OK, seems the big color area (BCA) it's not updated at first time when selecting in the vertical color sliding (VCS). But doing a selection on VCS, clicking in the BCA and returning to select in the VCS then it updates properly. Some update on BCA versus VCS and vice versa, is not always done. Terms in source colorpickerdialog.ui ColorFieldControl -> your BCA ColorSliderControl -> your VCS ColorPreviewControl -> "shin bar" of OP's note preview -> left half of the bar previous -> right half of the bar I think this is a corollary to bug 85590 where it was the 'Pick a color' circle on the ColorFieldControl that was misplaced on opening. Here it is the 'Color pointer' on the ColorSliderControl, and only when initially opened as noted. Guess the color slider needs some kind of UpdatePosition() similar to what the 'Pick a color' circle got with https://cgit.freedesktop.org/libreoffice/core/commit/?id=7716d86f46dea72bd0e99f7074f718d558e88f49 Looks like it has been doing this since the Custom Color picker was reimplemented at 4.4 Easyhack? So you can actually click the ColorSliderControl multiple times, relocating the slider, but the pallet hue displayed on the ColorFieldControl is not changed to match. Activating it requires a color selection click in the ColorFieldControl, or a change of mode in one of the radio buttons or value fields for the RGB, HSB or CMYK color palette modes (opens default with the 'Hue' radiobutton set, then only changes when a different control is selected). This isn't my first run in with this dialog and I left baffled the last time, but I think I see the core problem this time around. Caolán McNamara committed a patch related to this issue. It has been pushed to "master": https://git.libreoffice.org/core/commit/83334df9cfc34a2f740fe30db0f3359105cede83 Resolves: tdf#151711 don't use an intermediate Color to pass data around It will be available in 7.5.0. The patch should be included in the daily builds available at https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: https://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback. done in trunk, backport to 7-4 in gerrit *** Bug 149600 has been marked as a duplicate of this bug. *** Caolán McNamara committed a patch related to this issue. It has been pushed to "libreoffice-7-4": https://git.libreoffice.org/core/commit/1883d625b92e6c417bfb892364023063deb0fa7c Resolves: tdf#151711 don't use an intermediate Color to pass data around It will be available in 7.4.3. The patch should be included in the daily builds available at https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: https://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback. Verified. The ColorSliderControl responds stays in sync with the ColorFieldControl which responds on selection, and all three color "modes" update as color picks are made. Seems to function correctly now. Version: 7.5.0.0.alpha0+ (X86_64) / LibreOffice Community Build ID: 20ebccd6b349a1d9d3e057de55933c2805ff5d1a CPU threads: 8; OS: Windows 10.0 Build 19044; UI render: Skia/Vulkan; VCL: win Locale: en-US (en_US); UI: en-US Calc: threaded |