Bug 420672

Summary: Broken statusbar with OpenGL
Product: [Applications] gwenview Reporter: dendy oc <dandyoctavian>
Component: generalAssignee: Gwenview Bugs <gwenview-bugs-null>
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version: 20.04.0   
Target Milestone: ---   
Platform: Manjaro   
OS: Linux   
Latest Commit: Version Fixed In: 20.12.3
Sentry Crash Report:
Attachments: No status bar, status bar broken
No status bar, status bar broken(Full app screen)
No status bar, status bar disappear

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