Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ Library support » Menus&Toolbars » [Minor bug & fix] Wrong color of MenuBar item when mouse cursor is on it (Gtk backend)
[Minor bug & fix] Wrong color of MenuBar item when mouse cursor is on it (Gtk backend) [message #39727] Sun, 21 April 2013 15:18 Go to next message
Klugier is currently offline  Klugier
Messages: 640
Registered: September 2012
Location: Poland, Kraków
Contributor
Hello,

I have noticed that some gtk distributions are having problem with appropriate MenuBar item color (only upper menu!) when mouse cursor is on it (Gtk backend).

I enclose patch code. (CtrlLib/ChGtk.cpp - From line 542)

Sincerely,
Klugier
  • Attachment: ChGtk.cpp
    (Size: 21.13KB, Downloaded 145 times)


Ultimate++ - one framework to rule them all.

[Updated on: Sat, 27 April 2013 17:37]

Report message to a moderator

Re: [Minor bug & fix] Wrong color of MenuBar item when mouse cursor is on it (Gtk backend) [message #39785 is a reply to message #39727] Sat, 27 April 2013 13:57 Go to previous messageGo to next message
Klugier is currently offline  Klugier
Messages: 640
Registered: September 2012
Location: Poland, Kraków
Contributor
Hello,

I enclose demonstrative image of this bug:

index.php?t=getfile&id=4154&private=0

Sincerely,
Klugier


Ultimate++ - one framework to rule them all.
Re: [Minor bug & fix] Wrong color of MenuBar item when mouse cursor is on it (Gtk backend) [message #40023 is a reply to message #39785] Sun, 26 May 2013 19:40 Go to previous messageGo to next message
mirek is currently offline  mirek
Messages: 12105
Registered: November 2005
Ultimate Member
Thanks, applied.

Mirek
Re: [Minor bug & fix] Wrong color of MenuBar item when mouse cursor is on it (Gtk backend) [message #40053 is a reply to message #40023] Wed, 29 May 2013 15:52 Go to previous messageGo to next message
Klugier is currently offline  Klugier
Messages: 640
Registered: September 2012
Location: Poland, Kraków
Contributor
Hello Mirek,

My patch is wrong. It repairs systems such as: Xubuntu or Mint (With Cinamon), but it destroys Ubuntu.

I have find new sollution. It is shorter, but more tricky. We only need to patch one line of code:

s.topitemtext[1] = ChGtkColor(0, top_item);


If I will have a time, I make extra tests. I have enclose whole file, because I had to remove wrong lines of code.

Added:
I have made extra tests. It works as expected. At the end, I would like to apologize ultimate++ community for wrong patch.

Sincerely,
Klugier
  • Attachment: ChGtk.cpp
    (Size: 21.09KB, Downloaded 142 times)


Ultimate++ - one framework to rule them all.

[Updated on: Thu, 30 May 2013 02:51]

Report message to a moderator

Re: [Minor bug & fix] Wrong color of MenuBar item when mouse cursor is on it (Gtk backend) [message #40185 is a reply to message #40053] Sun, 30 June 2013 09:13 Go to previous message
mirek is currently offline  mirek
Messages: 12105
Registered: November 2005
Ultimate Member
Patch applied...

Mirek
Previous Topic: Popup menu with check items
Next Topic: [Bug] Check box + sub-menu = problem
Goto Forum:
  


Current Time: Tue Nov 19 13:47:40 CET 2019

Total time taken to generate the page: 0.01198 seconds