Bug 420672 - Broken statusbar with OpenGL
Summary: Broken statusbar with OpenGL
Status: RESOLVED FIXED
Alias: None
Product: gwenview
Classification: Applications
Component: general (show other bugs)
Version: 20.04.0
Platform: Manjaro Linux
: NOR normal
Target Milestone: ---
Assignee: Gwenview Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-04-27 16:15 UTC by dendy oc
Modified: 2021-02-05 20:55 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In: 20.12.3
Sentry Crash Report:


Attachments
No status bar, status bar broken (113.93 KB, image/png)
2020-04-27 16:15 UTC, dendy oc
Details
No status bar, status bar broken(Full app screen) (904.47 KB, image/png)
2020-04-27 16:16 UTC, dendy oc
Details
No status bar, status bar disappear (827.41 KB, image/png)
2020-04-27 16:19 UTC, dendy oc
Details

Note You need to log in before you can comment on or make changes to this bug.
Description dendy oc 2020-04-27 16:15:54 UTC
Created attachment 127927 [details]
No status bar, status bar broken

SUMMARY
Gwenview broken to view statusbar, when disable and re-enable again statusbar disappear

STEPS TO REPRODUCE
1. Set Animations to OpenGL (Settings->Configure Gwenview->go to tab "Image View"->Animations)
2. Restart Gwenview

OBSERVED RESULT
Broken Status bar when re-enable disappear

EXPECTED RESULT
Showing normal statusbar(Show zoom, etc)

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: Manjaro Linux 20.0 (Kernel 5.6.6) / Plasma 5.18
(available in About System)
KDE Plasma Version:  5.18.4
KDE Frameworks Version: 5.69.0
Qt Version: 5.14.2

ADDITIONAL INFORMATION
-
Comment 1 dendy oc 2020-04-27 16:16:36 UTC
Created attachment 127928 [details]
No status bar, status bar broken(Full app screen)
Comment 2 dendy oc 2020-04-27 16:19:50 UTC
Created attachment 127929 [details]
No status bar, status bar disappear
Comment 3 Christoph Feck 2020-05-14 12:42:29 UTC
Cannot reproduce with Mesa i965 OpenGL drivers.
Comment 4 Bug Janitor Service 2021-02-04 17:47:14 UTC
A possibly relevant merge request was started @ https://invent.kde.org/graphics/gwenview/-/merge_requests/37
Comment 5 Nate Graham 2021-02-05 20:55:23 UTC
Git commit 7ed543b53a9fb6d11ef95e439425ed71f952e66b by Nate Graham, on behalf of Madhav Kanbur.
Committed on 05/02/2021 at 20:55.
Pushed by ngraham into branch 'release/20.12'.

Switch from QGLWidget to QOpenGLWidget

* QGLWidget has been deprecated => Nuke it and don't link Qt5::OpenGL

* Switch to the better, newer QOpenGLWidget (introduced in Qt 5.4)

* Fixes the OpenGL Renderer not working
Related: bug 403323, bug 410083
FIXED-IN: 20.12.3

Signed-off-by: Madhav Kanbur <abcdjdj@gmail.com>

M  +1    -1    CMakeLists.txt
M  +0    -1    lib/CMakeLists.txt
M  +5    -10   lib/documentview/documentviewcontainer.cpp

https://invent.kde.org/graphics/gwenview/commit/7ed543b53a9fb6d11ef95e439425ed71f952e66b