Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[macOS] Several glitches when switching dark/light mode #7043

Open
islamadel opened this issue Feb 15, 2019 · 36 comments
Open

[macOS] Several glitches when switching dark/light mode #7043

islamadel opened this issue Feb 15, 2019 · 36 comments

Comments

@islamadel
Copy link

I use the latest version of ownCloud Client (2.5.3) on MacOS Mojave (10.14.3) Dark Mode activated
Under Settings Folder Names are blank

Expected behaviour

Folder Names should be displayed

Actual behaviour

Folder Names blank, can't choose what to sync

Steps to reproduce

  1. Just Install and enable dark mode

Server configuration

Operating system:

Web server:

Database:

PHP version:

ownCloud version:

Storage backend (external storage):

Client configuration

Client version:

Operating system:

OS language:

Qt version used by client package (Linux only, see also Settings dialog):

Client package (From ownCloud or distro) (Linux only):

Installation path of client:

Logs

Please use Gist (https://gist.github.com/) or a similar code paster for longer
logs.

Template for output < 10 lines

  1. Client logfile: Output of owncloud --logwindow or owncloud --logfile log.txt
    (On Windows using cmd.exe, you might need to first cd into the ownCloud directory)
    (See also http://doc.owncloud.org/desktop/2.2/troubleshooting.html#client-logfile )

  2. Web server error log:

  3. Server logfile: ownCloud log (data/owncloud.log):

See Screenshot:

2019-02-15 20 06 51

@michaelstingl
Copy link
Contributor

The team is working on a 2.5.4 release with Qt 5.12.x. You can already download a pre-release build here:
https://download.owncloud.com/desktop/daily/?C=M;O=D

Could you test and provide feedback?

@guruz
Copy link
Contributor

guruz commented Feb 19, 2019

@islamadel to be exact please try https://download.owncloud.com/desktop/daily/ownCloud-2.5.4.11337-daily20190219.pkg

@guruz guruz added this to the 2.5.4 milestone Feb 19, 2019
@lazawan
Copy link

lazawan commented Feb 19, 2019

@guruz @michaelstingl
I used the build from guruz
https://download.owncloud.com/desktop/daily/ownCloud-2.5.4.11337-daily20190219.pkg

it looks so right now :

screen shot 2019-02-19 at 12 04 31

screen shot 2019-02-19 at 11 50 10

screen shot 2019-02-19 at 11 51 00

screen shot 2019-02-19 at 11 51 13

I think font for Account, Activity , General and Network is too dark :'(

@guruz
Copy link
Contributor

guruz commented Feb 20, 2019

@guruz guruz changed the title Folder names under Settings are blank in Dark mode - MacOS Mojave [macOS mojave] Several dark mode glitches in UI Feb 20, 2019
@guruz
Copy link
Contributor

guruz commented Feb 20, 2019

@lazawan thank you for the screenshots.

@michaelstingl We could just opt out of dark mode for now until we ourselves fixed all issues and Qt upstream has fixed theirs (maybe with our help)

https://developer.apple.com/documentation/appkit/nsappearancecustomization/choosing_a_specific_appearance_for_your_app?language=objc

If you need extra time to work on your app's Dark Mode support, you can temporarily opt out by including the NSRequiresAquaSystemAppearance key (with a value of YES) in your app’s Info.plist file. Setting this key to YES causes the system to ignore the user's preference and always apply a light appearance to your app.

Basically, try a 2.5.4 with this.

@michaelstingl
Copy link
Contributor

@michaelstingl We could just opt out of dark mode for now until we ourselves fixed all issues and Qt upstream has fixed theirs (maybe with our help)

@guruz Yeah, let's do this in the 2.5.4.

We can keep it enabled in the daily builds, then we can check the progress…

@guruz
Copy link
Contributor

guruz commented Feb 22, 2019

Pushed this into 2.5 branch for now ^^.. maybe someone wants to try this with TOMORROWS daily build.

CC @ChrisEdS

@ChrisEdS
Copy link

Will do.

@ghost
Copy link

ghost commented Feb 22, 2019

I also have Guruz's version running in my laptop. If it's needed to test a new release I don't mind do the job.

@ckamm ckamm added the ReadyToTest QA, please validate the fix/enhancement label Feb 26, 2019
@guruz
Copy link
Contributor

guruz commented Mar 4, 2019

@guruz guruz changed the title [macOS mojave] Several dark mode glitches in UI [macOS mojave] Several dark mode glitches in UI (Disable dark mode for now) Mar 4, 2019
@ChrisEdS
Copy link

ChrisEdS commented Mar 4, 2019

It's getting better. What is still noticeable to me you find in the graphics.

image

image

@ChrisEdS
Copy link

ChrisEdS commented Mar 8, 2019

I had to reinstall the old client first to see your "back to normal mode" fix.

@guruz
Copy link
Contributor

guruz commented Mar 10, 2019

Disabling dark mode in latest 2.5.4 daily builds works as per 710a2af#commitcomment-32655811
I'm moving this issue then and we fix it in a later release.

@guruz guruz modified the milestones: 2.5.4, 2.5-next Mar 10, 2019
@michaelstingl
Copy link
Contributor

According to https://bugreports.qt.io/browse/QTBUG-71020 , it got fixed with 5.12.3. We should try again with 710a2af reverted and latest Qt.

@michaelstingl michaelstingl removed the ReadyToTest QA, please validate the fix/enhancement label Sep 24, 2019
@michaelstingl michaelstingl modified the milestones: 2.5.5, 2.6.1 Sep 24, 2019
@ChrisEdS
Copy link

From my point of view, it looks good. @TheOneRing Do you agree?
I can do another test with the latest daily build if needed.

@HanaGemela
Copy link
Contributor

Remaining issues:

  1. 'Add folder Sync Connection' button moves slower then its title - this is more noticeable with dark mode

Screenshot 2019-10-10 at 17 54 58

  1. Too low contrast

Screenshot 2019-10-10 at 17 59 01

Screenshot 2019-10-10 at 17 58 25

Screenshot 2019-10-10 at 18 00 25

Screenshot 2019-10-10 at 18 01 33

@ChrisEdS
Copy link

Another thing are the icons for user and notifications. For my flavor, they are both too dark.

image

image

We should use a light grey instead?

@michaelstingl michaelstingl modified the milestones: 2.6.1, 2.6.2 Nov 26, 2019
@TheOneRing
Copy link
Member

Fixed with Qt 5.14 so probably with 2.8.
image

@michaelstingl michaelstingl modified the milestones: 2.6.2, 2.7.0 Feb 24, 2020
@HanaGemela
Copy link
Contributor

@TheOneRing please provide build with Qt 5.14 for testing

@TheOneRing
Copy link
Member

It looked to me that the issues are already fixed in the latest builds with Qt 5.12.7 so current 2.6.3 builds should be ok

@HanaGemela
Copy link
Contributor

Chris posted a screenshot with dark notifications (#7043 (comment)) so it used to be working. But now the server notifications do not have a dark mode in 2.6.3 (build 13252)

Bildschirmfoto 2020-03-18 um 17 29 32

@davitol
Copy link

davitol commented Sep 16, 2020

Seen in Version 2.7.0 (build 2098)

DarkmodeoC

@michaelstingl
Copy link
Contributor

Seen in Version 2.7.0 (build 2098)

Does a reboot fix it?

@davitol
Copy link

davitol commented Sep 16, 2020

Does a reboot fix it?

Yes, it did. So ignore my previous comment 😄

@TheOneRing
Copy link
Member

Yes there seem to be issue with scroll areas, same as #7043 (comment) ...
I tried to work around it and only made things worse.... I assume it is a Qt bug...

@voroyam
Copy link
Contributor

voroyam commented Jan 14, 2021

I have the same on Big Sur

image

image

@ChrisEdS
Copy link

Which version do you use?

@ChrisEdS
Copy link

image

@voroyam
Copy link
Contributor

voroyam commented Jan 14, 2021

2.7.4

@ChrisEdS
Copy link

I'm also on 2.7.4. - that's weird.

@TheOneRing
Copy link
Member

It only happens when you switch themes.... I'll update the title

@TheOneRing TheOneRing changed the title [macOS mojave] Several dark mode glitches in UI (Disable dark mode for now) [macOS mojave] Several glitches when switching dark/light mode Jan 14, 2021
@TheOneRing TheOneRing changed the title [macOS mojave] Several glitches when switching dark/light mode [macOS] Several glitches when switching dark/light mode Jan 14, 2021
@michaelstingl michaelstingl modified the milestones: 2.7.0, Backlog Mar 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests