Bug 103320

Summary: [gtk3] pressed buttons on the toolbar have wrong coloring.
Product: LibreOffice Reporter: Hussam Al-Tayeb <ht990332>
Component: UIAssignee: Caolán McNamara <caolan.mcnamara>
Status: RESOLVED FIXED    
Severity: normal    
Priority: medium    
Version: 5.3.0.0.alpha0+   
Hardware: All   
OS: Linux (All)   
Whiteboard: target:5.3.0
Crash report or crash signature: Regression By:
Bug Depends on:    
Bug Blocks: 103182    
Attachments: gtk-demo toolbar vs LO toolbar.

Description Hussam Al-Tayeb 2016-10-18 18:10:36 UTC
Created attachment 128061 [details]
gtk-demo toolbar vs LO toolbar.

Notice the pressed button in LO toolbar and the one in gtk3-demo.
The one in gtk3-demo has darker coloring for the pressed button area.
Comment 1 Caolán McNamara 2016-10-21 15:29:35 UTC
I think this was working and went awry with the fix for bug #100251
Comment 2 Commit Notification 2016-10-21 15:35:01 UTC
Caolán McNamara committed a patch related to this issue.
It has been pushed to "master":

http://cgit.freedesktop.org/libreoffice/core/commit/?id=7f6f5519079e3508ac1302aa5907cfc6098c525e

Resolves: tdf#103320 pressed buttons appear as hover buttons in toolbar

It will be available in 5.3.0.

The patch should be included in the daily builds available at
http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
http://wiki.documentfoundation.org/Testing_Daily_Builds

Affected users are encouraged to test the fix and report feedback.
Comment 3 Caolán McNamara 2016-10-21 15:36:41 UTC
both now seem to work, probably need to rework the toolbar stuff to use the new css code rather than grabbing the styles of real widgets.