Selected text colour does not follow theme

Bug #73310 reported by Onno Benschop
16
Affects Status Importance Assigned to Milestone
gphpedit (Ubuntu)
Fix Released
Medium
Onno Benschop

Bug Description

Binary package hint: gphpedit

The selected text colour used by gphpedit is on my Edgy Eft system a very light orange. I can only see it if I rotate my laptop lcd completely horizontally.

Changing the theme does not appear to alter the highlight colour, nor does the colour preference inside the application provide a choice to select a different colour.

Adrien Cunin (adri2000)
Changed in gphpedit:
importance: Undecided → Low
Revision history for this message
Onno Benschop (onno-itmaze) wrote :

Not sure why this is marked of LOW importance, it stops me from being able to use the application because I cannot see which piece of text is selected and I do not appear to have the means to manually modify it.

On the face of it, the bug as reported is one of esthetics, but that is not what is really happening.

Revision history for this message
Mark Tweedie (mark-tweedie) wrote :

I would echo Onno's comment. This is an excellent piece of software rendered virtually useless in many cases by this problem (e.g.when using "Find" to locate text) .

Revision history for this message
Onno Benschop (onno-itmaze) wrote :

Glad to see that I'm not alone :)

I've now marked it as confirmed. I can unfortunately not actually change the importance from my screen, but I'll ask in #ubuntu- bugs.

Changed in gphpedit:
status: Unconfirmed → Confirmed
Revision history for this message
Onno Benschop (onno-itmaze) wrote :

This bug was also lodged on the gphpedit site: http://www.gphpedit.org/bugs/bug_view.php?id=184

Revision history for this message
Onno Benschop (onno-itmaze) wrote :

The person reporting to me that it was a single byte fix was mistaken.

I've been looking at the source and I've noted that there is a discrepancy between the definition of the byte length for the colours.

In src/preferences.h for example the definition for set_sel_back is gint, but the parameter in scintilla is a glong, which might explain the issue.

I'm going through the parameters one by one (there's more than 300) to see if I can catch all of those, change them, recompile and see if it starts working as expected.

Changed in gphpedit:
assignee: nobody → onno-itmaze
status: Confirmed → In Progress
Changed in gphpedit:
importance: Low → Medium
Revision history for this message
Daniel T Chen (crimsun) wrote :

Is this symptom still reproducible in 8.10 alpha?

Changed in gphpedit:
status: In Progress → Incomplete
Revision history for this message
Onno Benschop (onno-itmaze) wrote :

I don't have an 8.10 machine handy right now, but I'll look into it and report back.

Revision history for this message
Aram Loosman (contact-webfarmer) wrote :

yes it is indeed and it's very annoying.
would love to see this one fixed :)

Revision history for this message
liquidweaver (joshuaweaver) wrote :

The problem is that it never references the appropriate setting...
I attached a unified diff that fixes the bug, so gphpedit actually uses the background highlight setting chosen.

For non-developers out there, to use it:

_____snip______
apt-get source gphpedit
sudo apt-get install libgtkhtml2-dev libgnomeui-dev
cd gphpedit-0.9.91
patch -p0 -i tab.diff
./configure
make && make install
_____/snip______

Revision history for this message
liquidweaver (joshuaweaver) wrote :

Well, a year later and we still have this problem...
Here's an amd64 package for Ubuntu 10.04 with the above patch.
Hope this helps someone.

Revision history for this message
liquidweaver (joshuaweaver) wrote :

Ubuntu 10.04 32-bit package, otherwise same as in comment #10

Revision history for this message
Lior Kaplan (kaplan) wrote :

version 0.9.97 was uploaded today to debian. I guess it will be also available in Ubuntu in a few days.
According to the changelog, this version has a fix for this bug.

Revision history for this message
Sebastien Bacher (seb128) wrote :

the new version is in maverick now

Changed in gphpedit (Ubuntu):
status: Incomplete → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.