flathub / com.nextcloud.desktopclient.nextcloud

https://flathub.org/apps/details/com.nextcloud.desktopclient.nextcloud
7 stars 20 forks source link

[Bug]: UI Elements not visible in Dark or Light mode on Linux flatpak #132

Open Nitrousoxide opened 10 months ago

Nitrousoxide commented 10 months ago

Reposting the bug report here at the request of the maintainers

Bug description

Elements of the UI are not visible in the client. Different elements are not visible depending on light/dark mode but there are always at least some which cannot be seen. Screenshots:

image

image

image

image

running the client via the terminal gives this error:

flatpak run com.nextcloud.desktopclient.nextcloud --logwindow
QSocketNotifier: Can only be used with threads started with QThread
qt.qpa.qgnomeplatform: Could not find color scheme  ""

** (nextcloud:2): WARNING **: 15:39:14.605: atk-bridge: get_device_events_reply: unknown signature

Steps to reproduce

  1. Open client
  2. Client does not display text correctly ...

Expected behavior

When opening client text and UI elements should be visible

Which files are affected by this bug

com.nextcloud.desktopclient.nextcloud

Operating system

Linux

Which version of the operating system you are running.

Fedora 38

Package

Other

Nextcloud Server version

27

Nextcloud Desktop Client version

3.9.0

Nextcloud Server logs

I don't see any content in the log that is relevant to this but here are the logs from the last few hours which go back to before I started and stopped the client several times so if it was throwing errors up stream they should show up.

{"reqId":"5nXLo8Y2WYfEhnPC90R9","level":3,"time":"2023-06-28T15:22:17+00:00","remoteAddr":"192.168.160.1","user":"Brian","app":"index","method":"GET","url":"/apps/photos/api/v1/preview/50044?etag=b15476b23e1455d4c2002681bb8fca5f&x=64&y=64","message":"Could not create folder \"/appdata_oce7nhhwrxtg/preview/3/c/f/4/1/9/e/50044\"","userAgent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Safari/537.36","version":"27.0.0.8","exception":{"Exception":"OCP\\Files\\NotPermittedException","Message":"Could not create folder \"/appdata_oce7nhhwrxtg/preview/3/c/f/4/1/9/e/50044\"","Code":0,"Trace":[{"file":"/config/www/nextcloud/lib/private/Files/AppData/AppData.php","line":147,"function":"newFolder","class":"OC\\Files\\Node\\Folder","type":"->"},{"file":"/config/www/nextcloud/lib/private/Preview/Storage/Root.php","line":74,"function":"newFolder","class":"OC\\Files\\AppData\\AppData","type":"->"},{"file":"/config/www/nextcloud/lib/private/Preview/Generator.php","line":643,"function":"newFolder","class":"OC\\Preview\\Storage\\Root","type":"->"},{"file":"/config/www/nextcloud/lib/private/Preview/Generator.php","line":139,"function":"getPreviewFolder","class":"OC\\Preview\\Generator","type":"->"},{"file":"/config/www/nextcloud/lib/private/Preview/Generator.php","line":116,"function":"generatePreviews","class":"OC\\Preview\\Generator","type":"->"},{"file":"/config/www/nextcloud/lib/private/PreviewManager.php","line":192,"function":"getPreview","class":"OC\\Preview\\Generator","type":"->"},{"file":"/config/www/nextcloud/apps/photos/lib/Controller/PreviewController.php","line":162,"function":"getPreview","class":"OC\\PreviewManager","type":"->"},{"file":"/config/www/nextcloud/apps/photos/lib/Controller/PreviewController.php","line":128,"function":"fetchPreview","class":"OCA\\Photos\\Controller\\PreviewController","type":"->"},{"file":"/config/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php","line":230,"function":"index","class":"OCA\\Photos\\Controller\\PreviewController","type":"->"},{"file":"/config/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php","line":137,"function":"executeController","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->"},{"file":"/config/www/nextcloud/lib/private/AppFramework/App.php","line":183,"function":"dispatch","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->"},{"file":"/config/www/nextcloud/lib/private/Route/Router.php","line":315,"function":"main","class":"OC\\AppFramework\\App","type":"::"},{"file":"/config/www/nextcloud/lib/base.php","line":1064,"function":"match","class":"OC\\Route\\Router","type":"->"},{"file":"/config/www/nextcloud/index.php","line":36,"function":"handleRequest","class":"OC","type":"::"}],"File":"/config/www/nextcloud/lib/private/Files/Node/Folder.php","Line":166,"CustomMessage":"--"}}
{"reqId":"E7GPskm1760VzklJjEic","level":3,"time":"2023-06-28T15:45:13+00:00","remoteAddr":"","user":"--","app":"news","method":"","url":"--","message":"No parser can handle this stream","userAgent":"--","version":"27.0.0.8","data":{"app":"news"}}
{"reqId":"E7GPskm1760VzklJjEic","level":2,"time":"2023-06-28T15:45:13+00:00","remoteAddr":"","user":"--","app":"news","method":"","url":"--","message":"http://feeds.feedburner.com/alienhandsyndrome read error : No parser can handle this stream","userAgent":"--","version":"27.0.0.8","data":{"app":"news"}}
{"reqId":"E7GPskm1760VzklJjEic","level":2,"time":"2023-06-28T15:45:36+00:00","remoteAddr":"","user":"--","app":"news","method":"","url":"--","message":"https://unofficialbird.com/inba_0/media/rss read error : Server error: `GET https://unofficialbird.com/inba_0/media/rss` resulted in a `502 Bad Gateway` response:\n<html xmlns=\"http://www.w3.org/1999/xhtml\"><head><title>Jester route exception</title></head><body><h1>An error has occu (truncated...)\n","userAgent":"--","version":"27.0.0.8","data":{"app":"news"}}
{"reqId":"E7GPskm1760VzklJjEic","level":2,"time":"2023-06-28T15:46:29+00:00","remoteAddr":"","user":"--","app":"news","method":"","url":"--","message":"https://unofficialbird.com/khyleri/media/rss read error : Server error: `GET https://unofficialbird.com/khyleri/media/rss` resulted in a `502 Bad Gateway` response:\n<html xmlns=\"http://www.w3.org/1999/xhtml\"><head><title>Jester route exception</title></head><body><h1>An error has occu (truncated...)\n","userAgent":"--","version":"27.0.0.8","data":{"app":"news"}}
{"reqId":"E7GPskm1760VzklJjEic","level":2,"time":"2023-06-28T15:46:38+00:00","remoteAddr":"","user":"--","app":"news","method":"","url":"--","message":"https://unofficialbird.com/vanishlily/media/rss read error : Server error: `GET https://unofficialbird.com/vanishlily/media/rss` resulted in a `502 Bad Gateway` response:\n<html xmlns=\"http://www.w3.org/1999/xhtml\"><head><title>Jester route exception</title></head><body><h1>An error has occu (truncated...)\n","userAgent":"--","version":"27.0.0.8","data":{"app":"news"}}
{"reqId":"E7GPskm1760VzklJjEic","level":2,"time":"2023-06-28T15:46:40+00:00","remoteAddr":"","user":"--","app":"news","method":"","url":"--","message":"https://unofficialbird.com/maydayer9/media/rss read error : Server error: `GET https://unofficialbird.com/maydayer9/media/rss` resulted in a `502 Bad Gateway` response:\n<html xmlns=\"http://www.w3.org/1999/xhtml\"><head><title>Jester route exception</title></head><body><h1>An error has occu (truncated...)\n","userAgent":"--","version":"27.0.0.8","data":{"app":"news"}}
{"reqId":"E7GPskm1760VzklJjEic","level":2,"time":"2023-06-28T15:46:46+00:00","remoteAddr":"","user":"--","app":"news","method":"","url":"--","message":"https://unofficialbird.com/DpinDD/media/rss read error : Server error: `GET https://unofficialbird.com/DpinDD/media/rss` resulted in a `502 Bad Gateway` response:\n<html xmlns=\"http://www.w3.org/1999/xhtml\"><head><title>Jester route exception</title></head><body><h1>An error has occu (truncated...)\n","userAgent":"--","version":"27.0.0.8","data":{"app":"news"}}
{"reqId":"KOhplob3va0OSivnqSb2","level":3,"time":"2023-06-28T16:45:12+00:00","remoteAddr":"","user":"--","app":"news","method":"","url":"--","message":"No parser can handle this stream","userAgent":"--","version":"27.0.0.8","data":{"app":"news"}}
{"reqId":"KOhplob3va0OSivnqSb2","level":2,"time":"2023-06-28T16:45:12+00:00","remoteAddr":"","user":"--","app":"news","method":"","url":"--","message":"http://feeds.feedburner.com/alienhandsyndrome read error : No parser can handle this stream","userAgent":"--","version":"27.0.0.8","data":{"app":"news"}}
{"reqId":"KOhplob3va0OSivnqSb2","level":2,"time":"2023-06-28T16:45:30+00:00","remoteAddr":"","user":"--","app":"news","method":"","url":"--","message":"https://unofficialbird.com/inba_0/media/rss read error : Server error: `GET https://unofficialbird.com/inba_0/media/rss` resulted in a `502 Bad Gateway` response:\n<html xmlns=\"http://www.w3.org/1999/xhtml\"><head><title>Jester route exception</title></head><body><h1>An error has occu (truncated...)\n","userAgent":"--","version":"27.0.0.8","data":{"app":"news"}}
{"reqId":"KOhplob3va0OSivnqSb2","level":2,"time":"2023-06-28T16:46:17+00:00","remoteAddr":"","user":"--","app":"news","method":"","url":"--","message":"https://unofficialbird.com/khyleri/media/rss read error : Server error: `GET https://unofficialbird.com/khyleri/media/rss` resulted in a `502 Bad Gateway` response:\n<html xmlns=\"http://www.w3.org/1999/xhtml\"><head><title>Jester route exception</title></head><body><h1>An error has occu (truncated...)\n","userAgent":"--","version":"27.0.0.8","data":{"app":"news"}}
{"reqId":"KOhplob3va0OSivnqSb2","level":2,"time":"2023-06-28T16:46:25+00:00","remoteAddr":"","user":"--","app":"news","method":"","url":"--","message":"https://unofficialbird.com/vanishlily/media/rss read error : Server error: `GET https://unofficialbird.com/vanishlily/media/rss` resulted in a `502 Bad Gateway` response:\n<html xmlns=\"http://www.w3.org/1999/xhtml\"><head><title>Jester route exception</title></head><body><h1>An error has occu (truncated...)\n","userAgent":"--","version":"27.0.0.8","data":{"app":"news"}}
{"reqId":"KOhplob3va0OSivnqSb2","level":2,"time":"2023-06-28T16:46:27+00:00","remoteAddr":"","user":"--","app":"news","method":"","url":"--","message":"https://unofficialbird.com/maydayer9/media/rss read error : Server error: `GET https://unofficialbird.com/maydayer9/media/rss` resulted in a `502 Bad Gateway` response:\n<html xmlns=\"http://www.w3.org/1999/xhtml\"><head><title>Jester route exception</title></head><body><h1>An error has occu (truncated...)\n","userAgent":"--","version":"27.0.0.8","data":{"app":"news"}}
{"reqId":"KOhplob3va0OSivnqSb2","level":2,"time":"2023-06-28T16:46:33+00:00","remoteAddr":"","user":"--","app":"news","method":"","url":"--","message":"https://unofficialbird.com/DpinDD/media/rss read error : Server error: `GET https://unofficialbird.com/DpinDD/media/rss` resulted in a `502 Bad Gateway` response:\n<html xmlns=\"http://www.w3.org/1999/xhtml\"><head><title>Jester route exception</title></head><body><h1>An error has occu (truncated...)\n","userAgent":"--","version":"27.0.0.8","data":{"app":"news"}}
{"reqId":"pn8siGI0CXSpB9T0Az2s","level":3,"time":"2023-06-28T17:50:12+00:00","remoteAddr":"","user":"--","app":"news","method":"","url":"--","message":"No parser can handle this stream","userAgent":"--","version":"27.0.0.8","data":{"app":"news"}}
{"reqId":"pn8siGI0CXSpB9T0Az2s","level":2,"time":"2023-06-28T17:50:12+00:00","remoteAddr":"","user":"--","app":"news","method":"","url":"--","message":"http://feeds.feedburner.com/alienhandsyndrome read error : No parser can handle this stream","userAgent":"--","version":"27.0.0.8","data":{"app":"news"}}
{"reqId":"pn8siGI0CXSpB9T0Az2s","level":2,"time":"2023-06-28T17:50:30+00:00","remoteAddr":"","user":"--","app":"news","method":"","url":"--","message":"https://unofficialbird.com/inba_0/media/rss read error : Server error: `GET https://unofficialbird.com/inba_0/media/rss` resulted in a `502 Bad Gateway` response:\n<html xmlns=\"http://www.w3.org/1999/xhtml\"><head><title>Jester route exception</title></head><body><h1>An error has occu (truncated...)\n","userAgent":"--","version":"27.0.0.8","data":{"app":"news"}}
{"reqId":"pn8siGI0CXSpB9T0Az2s","level":2,"time":"2023-06-28T17:50:44+00:00","remoteAddr":"","user":"--","app":"news","method":"","url":"--","message":"https://unofficialbird.com/khyleri/media/rss read error : Server error: `GET https://unofficialbird.com/khyleri/media/rss` resulted in a `502 Bad Gateway` response:\n<html xmlns=\"http://www.w3.org/1999/xhtml\"><head><title>Jester route exception</title></head><body><h1>An error has occu (truncated...)\n","userAgent":"--","version":"27.0.0.8","data":{"app":"news"}}
{"reqId":"pn8siGI0CXSpB9T0Az2s","level":2,"time":"2023-06-28T17:50:46+00:00","remoteAddr":"","user":"--","app":"news","method":"","url":"--","message":"https://unofficialbird.com/vanishlily/media/rss read error : Server error: `GET https://unofficialbird.com/vanishlily/media/rss` resulted in a `502 Bad Gateway` response:\n<html xmlns=\"http://www.w3.org/1999/xhtml\"><head><title>Jester route exception</title></head><body><h1>An error has occu (truncated...)\n","userAgent":"--","version":"27.0.0.8","data":{"app":"news"}}
{"reqId":"pn8siGI0CXSpB9T0Az2s","level":2,"time":"2023-06-28T17:50:47+00:00","remoteAddr":"","user":"--","app":"news","method":"","url":"--","message":"https://unofficialbird.com/maydayer9/media/rss read error : Server error: `GET https://unofficialbird.com/maydayer9/media/rss` resulted in a `502 Bad Gateway` response:\n<html xmlns=\"http://www.w3.org/1999/xhtml\"><head><title>Jester route exception</title></head><body><h1>An error has occu (truncated...)\n","userAgent":"--","version":"27.0.0.8","data":{"app":"news"}}
{"reqId":"pn8siGI0CXSpB9T0Az2s","level":2,"time":"2023-06-28T17:50:48+00:00","remoteAddr":"","user":"--","app":"news","method":"","url":"--","message":"https://unofficialbird.com/DpinDD/media/rss read error : Server error: `GET https://unofficialbird.com/DpinDD/media/rss` resulted in a `502 Bad Gateway` response:\n<html xmlns=\"http://www.w3.org/1999/xhtml\"><head><title>Jester route exception</title></head><body><h1>An error has occu (truncated...)\n","userAgent":"--","version":"27.0.0.8","data":{"app":"news"}}
{"reqId":"utJ5HpIlvbgmRxBdykyY","level":3,"time":"2023-06-28T18:55:12+00:00","remoteAddr":"","user":"--","app":"news","method":"","url":"--","message":"No parser can handle this stream","userAgent":"--","version":"27.0.0.8","data":{"app":"news"}}
{"reqId":"utJ5HpIlvbgmRxBdykyY","level":2,"time":"2023-06-28T18:55:12+00:00","remoteAddr":"","user":"--","app":"news","method":"","url":"--","message":"http://feeds.feedburner.com/alienhandsyndrome read error : No parser can handle this stream","userAgent":"--","version":"27.0.0.8","data":{"app":"news"}}
{"reqId":"utJ5HpIlvbgmRxBdykyY","level":2,"time":"2023-06-28T18:55:27+00:00","remoteAddr":"","user":"--","app":"news","method":"","url":"--","message":"https://unofficialbird.com/inba_0/media/rss read error : Server error: `GET https://unofficialbird.com/inba_0/media/rss` resulted in a `502 Bad Gateway` response:\n<html xmlns=\"http://www.w3.org/1999/xhtml\"><head><title>Jester route exception</title></head><body><h1>An error has occu (truncated...)\n","userAgent":"--","version":"27.0.0.8","data":{"app":"news"}}
{"reqId":"utJ5HpIlvbgmRxBdykyY","level":2,"time":"2023-06-28T18:55:39+00:00","remoteAddr":"","user":"--","app":"news","method":"","url":"--","message":"https://unofficialbird.com/khyleri/media/rss read error : Server error: `GET https://unofficialbird.com/khyleri/media/rss` resulted in a `502 Bad Gateway` response:\n<html xmlns=\"http://www.w3.org/1999/xhtml\"><head><title>Jester route exception</title></head><body><h1>An error has occu (truncated...)\n","userAgent":"--","version":"27.0.0.8","data":{"app":"news"}}
{"reqId":"utJ5HpIlvbgmRxBdykyY","level":2,"time":"2023-06-28T18:55:42+00:00","remoteAddr":"","user":"--","app":"news","method":"","url":"--","message":"https://unofficialbird.com/vanishlily/media/rss read error : Server error: `GET https://unofficialbird.com/vanishlily/media/rss` resulted in a `502 Bad Gateway` response:\n<html xmlns=\"http://www.w3.org/1999/xhtml\"><head><title>Jester route exception</title></head><body><h1>An error has occu (truncated...)\n","userAgent":"--","version":"27.0.0.8","data":{"app":"news"}}
{"reqId":"utJ5HpIlvbgmRxBdykyY","level":2,"time":"2023-06-28T18:55:43+00:00","remoteAddr":"","user":"--","app":"news","method":"","url":"--","message":"https://unofficialbird.com/maydayer9/media/rss read error : Server error: `GET https://unofficialbird.com/maydayer9/media/rss` resulted in a `502 Bad Gateway` response:\n<html xmlns=\"http://www.w3.org/1999/xhtml\"><head><title>Jester route exception</title></head><body><h1>An error has occu (truncated...)\n","userAgent":"--","version":"27.0.0.8","data":{"app":"news"}}
{"reqId":"utJ5HpIlvbgmRxBdykyY","level":2,"time":"2023-06-28T18:55:44+00:00","remoteAddr":"","user":"--","app":"news","method":"","url":"--","message":"https://unofficialbird.com/DpinDD/media/rss read error : Server error: `GET https://unofficialbird.com/DpinDD/media/rss` resulted in a `502 Bad Gateway` response:\n<html xmlns=\"http://www.w3.org/1999/xhtml\"><head><title>Jester route exception</title></head><body><h1>An error has occu (truncated...)\n","userAgent":"--","version":"27.0.0.8","data":{"app":"news"}}
root@b63a071e52fc:/data#
retiolus commented 10 months ago

Same issue here

jdmarshall90 commented 10 months ago

Same issue here

MisterMX commented 8 months ago

Duplicate of #115.

azuredusk10 commented 3 months ago

This bug seems to have reappeared. Myself and others are experiencing it as reported in this PR, and the workarounds which used to work no longer work: https://github.com/flathub/com.nextcloud.desktopclient.nextcloud/pull/130

azuredusk10 commented 3 months ago

Someone from Nextcloud has looked into the issue. This problem only occurs in the flatpak. the RPM, pacman, and AppImages all show the text correctly.

Their diagnosis: https://github.com/nextcloud/desktop/issues/5949#issuecomment-2189113365

The flatpak (and potentially some of its libraries) must be updated, as its issue is still persisting.

Does someone know how to update the flatpak and its libraries so this issue can be fixed?

p-fruck commented 3 months ago

see https://github.com/flathub/com.nextcloud.desktopclient.nextcloud/pull/164