#57574 closed defect (fixed)
Several Qt apps do not display correctly in 'dark mode' (Mojave)
Reported by: | szhorvat (Szabolcs Horvát) | Owned by: | MarcusCalhoun-Lopez (Marcus Calhoun-Lopez) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | |
Keywords: | mojave | Cc: | thetrial (alabay) |
Port: | qt5-qtcreator, owncloud-client, djview-qt5 |
Description
Several Qt apps do not display correctly with Mojave's dark mode.
One example is Qt Creator's Preferences dialog. I attached a screenshot. Another example is ownCloud.
Typically, white text is displayed on white background, making it unreadable (and the program unusable).
The reason why I consider this a MacPorts issue is that the official builds of these programs (e.g. the Qt Creator build that one can download from http://qt.io/) simply do not switch to dark mode, and therefore do not suffer from this problem.
It would be useful if the MacPorts builds also disabled dark mode, if this is easy to do.
Attachments (1)
Change History (10)
Changed 6 years ago by szhorvat (Szabolcs Horvát)
Attachment: | Screenshot 2018-11-11 12.10.44.png added |
---|
comment:1 Changed 6 years ago by MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)
Owner: | set to MarcusCalhoun-Lopez |
---|---|
Status: | new → accepted |
comment:2 Changed 6 years ago by szhorvat (Szabolcs Horvát)
Port: | djview-qt5 added |
---|
comment:3 Changed 6 years ago by szhorvat (Szabolcs Horvát)
djview-qt5 is affected as well.
It seems that Qt 5.11 does not officially support building with the Mojave 10.14 SDK, but Qt 5.12. Maybe Qt 5.12 will fix the worst problems when it is released?
comment:4 Changed 6 years ago by MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)
I tried a few (simple) workarounds, but none worked.
I am not sure it is worth the time and effort to find a solution ourselves when, as you note, upstream will be releasing a fixed version soon enough.
Since the upstream developers will not be adding dark mode to any version of Qt except 5.12 (see, e.g., here and here), I think we should close this ticket as "won't fix."
comment:5 Changed 6 years ago by szhorvat (Szabolcs Horvát)
Will MacPorts automatically transition all/most ports to Qt 5.12 when that version is released? Or will they stay on Qt 5.11 even after Qt 5.12 is included in MacPorts?
comment:6 Changed 6 years ago by szhorvat (Szabolcs Horvát)
The end of this page shows a simple method to opt out of dark mode by adding a key to Info.plist
comment:7 Changed 6 years ago by MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)
Resolution: | → fixed |
---|---|
Status: | accepted → closed |
comment:8 Changed 6 years ago by thetrial (alabay)
Will QT 5.12 not make problems with macOS 10.10 and 10.11? As far as I know the actual client one can download from OwnCloud has the issue that it doesn’t work with El Capitan.
comment:9 Changed 6 years ago by thetrial (alabay)
Cc: | thetrial added |
---|
Qt Creator preferences screenshot in dark mode