Bug 133564 - Text OK on button in Autofilter window doesn't show (macOS)
Summary: Text OK on button in Autofilter window doesn't show (macOS)
Status: VERIFIED FIXED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: UI (show other bugs)
Version:
(earliest affected)
7.0.0.0.alpha1+
Hardware: All macOS (All)
: medium normal
Assignee: Thorsten Wagner
URL:
Whiteboard: target:7.1.0 target:7.0.2
Keywords: bibisected, bisected, regression
: 135223 (view as bug list)
Depends on:
Blocks: AutoFilter
  Show dependency treegraph
 
Reported: 2020-05-31 19:06 UTC by Roman Kuznetsov
Modified: 2020-09-02 10:24 UTC (History)
5 users (show)

See Also:
Crash report or crash signature:


Attachments
Autofilter without text on OK button (37.62 KB, image/png)
2020-05-31 19:08 UTC, Roman Kuznetsov
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Roman Kuznetsov 2020-05-31 19:06:16 UTC
Description:
Text OK on button in Autofilter window doesn't show (macOS)

Steps to Reproduce:
1. Open Calc
2. Create Autofilter
3. Open Autofilter window (click on triangle in column heading)
4. Look at OK button (see screenshot in attach)

Actual Results:
Text OK on button in Autofilter window doesn't show (macOS)

Expected Results:
I can see text OK on button in Autofilter window (macOS)


Reproducible: Always


User Profile Reset: No



Additional Info:
Version: 7.1.0.0.alpha0+
Build ID: 2047a5978ac8188e61da9cd3b2f40d86df5570bb
CPU threads: 4; OS: Mac OS X 10.15.4; UI render: default; VCL: osx
Locale: ru-RU (ru_RU.UTF-8); UI: en-US
Calc: threaded
Comment 1 Roman Kuznetsov 2020-05-31 19:07:18 UTC
I see OK on button in 6.4 version => regression
Comment 2 Roman Kuznetsov 2020-05-31 19:08:18 UTC
Created attachment 161470 [details]
Autofilter without text on OK button
Comment 3 Anastasiya T 2020-06-13 07:09:56 UTC
Hello Roman ,

Thank you for reporting the bug. 

I can confirm that the bug is present  

Version: 7.0.0.0.beta1
Build ID: 94f789cbb33335b4a511c319542c7bdc31ff3b3c
CPU threads: 4; OS: Mac OS X 10.15.3; UI render: default; VCL: osx
Locale: en-US (en_US.UTF-8); UI: en-US
Calc: threaded
Comment 4 Roman Kuznetsov 2020-07-05 09:48:00 UTC
Caolan, hi. You merged the patch https://gerrit.libreoffice.org/c/core/+/95224 . 
Can it fix this bug? 
I still see problem in today's 7.0.0.1, but not in current master. 
If I'm right, can you backport your patch into 7.0.
Thanks
Comment 5 Caolán McNamara 2020-07-06 09:10:44 UTC
I don't see any connection from https://gerrit.libreoffice.org/c/core/+/95224 to this bug. bibisect can be used to identify commits that introduced a desirable change if you want to track down what changed things for the better
Comment 6 Xisco Faulí 2020-07-16 15:52:34 UTC
Regression introduced by:

https://cgit.freedesktop.org/libreoffice/core/commit/?id=8d11b953c0a69f4f5eb5ca42dec3812a62d0cd0f

author	Thorsten Wagner <thorsten.wagner.4@gmail.com>	2020-02-23 21:11:05 +0100
committer	Tomaž Vajngerl <quikee@gmail.com>	2020-03-06 20:36:23 +0100
commit 8d11b953c0a69f4f5eb5ca42dec3812a62d0cd0f (patch)
tree 4061d4c9cd64871154a1fc843eae5cfbb6d22788
parent 4ba09be7e260ce2a79a23465db7b2837422cde30 (diff)
tdf#125532: White text on default/action buttons and selected tabs on macOS

Bisected with: mac64-7-0

Adding Cc: to Thorsten Wagner
Comment 7 Thorsten Wagner 2020-07-16 17:31:48 UTC
Issue is present with current revision from master too. Only initial focus seems to have changed here, so moving focus with tab causes the issue too.

Issue was visible during implementation of tdf#125532 already, but we decided not to fix this with the related commit. Reason was very poor code, because issue seems to be caused by an inconsistent implementation on a higher level. To sum up: There is a patch we do not want to apply.

I will try to find a better and more appropriate way to fix this.

BTW: Issue exists more than only at the autofiler button, e.g. on sidebar drop downs for bullets and numbers.
Comment 8 Xisco Faulí 2020-07-28 15:03:51 UTC
*** Bug 135223 has been marked as a duplicate of this bug. ***
Comment 9 Thorsten Wagner 2020-08-01 17:53:15 UTC
Patch submitted to Gerrit:

https://gerrit.libreoffice.org/c/core/+/99946
Comment 10 Commit Notification 2020-08-02 09:02:02 UTC
Thorsten Wagner committed a patch related to this issue.
It has been pushed to "master":

https://git.libreoffice.org/core/commit/4b1ecab984dc46ad7dfdd8a071c94553a6c03633

tdf#133564: Text coloring of buttons within non key windows on macOS amended

It will be available in 7.1.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.
Comment 11 Roman Kuznetsov 2020-08-02 18:33:43 UTC
(In reply to Commit Notification from comment #10)
> Thorsten Wagner committed a patch related to this issue.
> It has been pushed to "master":
> 
> https://git.libreoffice.org/core/commit/
> 4b1ecab984dc46ad7dfdd8a071c94553a6c03633
> 
> tdf#133564: Text coloring of buttons within non key windows on macOS amended
> 
> It will be available in 7.1.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.

Thorsten, please backport it into 7.0
Comment 12 Roman Kuznetsov 2020-08-03 16:40:22 UTC
verified in

Version: 7.1.0.0.alpha0+
Build ID: <buildversion>
CPU threads: 4; OS: Mac OS X 10.15.5; UI render: default; VCL: osx
Locale: ru-RU (ru_RU.UTF-8); UI: en-US
Calc: threaded

Thorsten, thanks for fixing!
Comment 13 Thorsten Wagner 2020-08-03 19:36:55 UTC
Unfortunately backporting to LO 7.0 is not soveld.

Adolfo prepared a patch for 7.0:

https://gerrit.libreoffice.org/c/core/+/99920

It seems that something has changed between 7.0 and master. While patch is successful for master (or LO 7.1), it is not working for 7.0.

Investigation will take some time...
Comment 14 Xisco Faulí 2020-08-04 07:29:05 UTC
(In reply to Thorsten Wagner from comment #13)
> Unfortunately backporting to LO 7.0 is not soveld.

What do you mean? There was a merge conflict or the issue is not fixed in 7.0 ?
Comment 15 Thorsten Wagner 2020-08-04 08:56:06 UTC
Issue is fixed in 7.1 only, not for 7.0 - it seems, that something has changed here between 7.0 and 7.1.

It would be very nice to have someone to verify this on macOS. Maybe it is my build environment but I do not beleave so.
Comment 16 Xisco Faulí 2020-08-04 09:44:44 UTC
(In reply to Thorsten Wagner from comment #15)
> Issue is fixed in 7.1 only, not for 7.0 - it seems, that something has
> changed here between 7.0 and 7.1.

Sure, the issue is fixed in LibreOffice 7.1 because your patch was submitted to master ( 7.1 ). it will be fixed in 7.0 once the backport it submitted
Comment 17 Thorsten Wagner 2020-08-04 10:50:02 UTC
Only to avoid missunderstandings: Patch has the desired result with LO 7.1 (already submitted to master) and has NOT the desired result with LO 7.0 - so, work on a backport is still in progress but not finished.
Comment 18 Thorsten Wagner 2020-08-05 08:39:43 UTC
Published backport to Gerrit:

https://gerrit.libreoffice.org/c/core/+/99920
Comment 19 Commit Notification 2020-09-02 10:22:48 UTC
Thorsten Wagner committed a patch related to this issue.
It has been pushed to "master":

https://git.libreoffice.org/core/commit/7e7af0658d9c769d9e5b3614e5f3fef3187ea833

tdf#133564: Text coloring of buttons within non key windows on macOS reworked

It will be available in 7.1.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.
Comment 20 Commit Notification 2020-09-02 10:24:04 UTC
Thorsten Wagner committed a patch related to this issue.
It has been pushed to "libreoffice-7-0":

https://git.libreoffice.org/core/commit/cb8bf2cea598b48783e2d7d60ef711ec438719a4

tdf#133564: Text coloring of buttons within non key windows on macOS amended

It will be available in 7.0.2.

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.