Client: [macOS] Several glitches when switching dark/light mode

Created on 15 Feb 2019  Â·  36Comments  Â·  Source: owncloud/client


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


    1. 3.

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

Design & UX Upstream issue bug macOS

Most helpful comment

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

2) 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

All 36 comments

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 @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 :'(

@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 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…

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

CC @ChrisEdS

Will do.

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.

@ChrisEdS @ea1het https://download.owncloud.com/desktop/daily/ownCloud-2.5.4.11390-daily20190304.pkg :-)

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

image

image

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

Disabling dark mode in latest 2.5.4 daily builds works as per https://github.com/owncloud/client/commit/710a2af6b5496df4ee5cfe13a9c407cf27979de2#commitcomment-32655811
I'm moving this issue then and we fix it in a later release.

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

@TheOneRing could you revert 710a2af in a branch from 2.6, then build a new macOS version for @HanaGemela to test?

Ready for test builds https://github.com/owncloud/client/pull/7489 (Do not merge)

I've tested the Dark Mode with Qt 5.12.5 and I'm pretty surprised. Looks good so far.

| image | image |
|---|---|
| image | image |

What could be improved is the low contrast of the links and of the two icons.

| image |
image | image |
|---|---|---|


But I found one glitch. The background color of the top bar is missing (transparent) after closing the client and opening the settings again.

image

Steps to reproduce

  1. Launch the client
  2. Go to settings
  3. Close the client
  4. Open settings via the menu

@ChrisEdS for the glitch see https://github.com/owncloud/client/issues/7371#issuecomment-534888737

Is that fixed now?

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

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

2) 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

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?

Fixed with Qt 5.14 so probably with 2.8.
image

@TheOneRing please provide build with Qt 5.14 for testing

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

Chris posted a screenshot with dark notifications (https://github.com/owncloud/client/issues/7043#issuecomment-548366165) 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

Seen in Version 2.7.0 (build 2098)

DarkmodeoC

Seen in Version 2.7.0 (build 2098)

Does a reboot fix it?

Does a reboot fix it?

Yes, it did. So ignore my previous comment 😄

Yes there seem to be issue with scroll areas, same as https://github.com/owncloud/client/issues/7043#issuecomment-600733357 ...
I tried to work around it and only made things worse.... I assume it is a Qt bug...

I have the same on Big Sur

image

image

Which version do you use?

image

2.7.4

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

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

Was this page helpful?
0 / 5 - 0 ratings