Bug 380720 - FIXED IN SVN: argument prompts are black rectangles
Summary: FIXED IN SVN: argument prompts are black rectangles
Status: RESOLVED FIXED
Alias: None
Product: rkward
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: unspecified All
: NOR normal
Target Milestone: ---
Assignee: RKWard Team
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-10-25 01:27 UTC by RKWard Team
Modified: 2011-03-20 11:27 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description RKWard Team 2010-10-25 01:27:53 UTC
-- Originally posted by (AT sourceforge.net): casims --

-- This ticket was imported from http://sourceforge.net/p/rkward/bugs/77 on 2017-05-30 15:26:44 +0100 --
Rkward 0.5.4, KDE 4.5.1, Ubuntu maverick 64 bit, R 2.12.0 \(2010-10-15\).

Argument prompts after the left paren in a function invocation on my setup come up as black rectangles.  They seem to be of varying lengths corresponding to the length of the argument lists, so they may be black on black printing.  I've looked for a way to change font colors or background colors in Rkward, but don't see any way to do it.  This problem is always present; it is not intermittent.  I have not seen it on other kde applications.
Comment 1 Thomas Friedrichsmeier 2010-10-25 10:58:40 UTC
Thanks for reporting.

I don't see this symptom, myself, so I'll need your help in fixing this. First question: Does this also happen for very short argument hints \(e.g when typing "str \("\), or only for longer ones?

I've tried some adjustments in SVN. Could you test those, by either compiling from SVN \(http://p.sf.net/rkward/svn\), or by using our daily builds from https://launchpad.net/~rkward-devel/+archive/rkward-dailys \(wait for the next build, i.e. 2010-10-25 or later\)?

Thanks\!
Thomas
Comment 2 Thomas Friedrichsmeier 2010-10-25 10:58:40 UTC
- **summary**: argument prompts are black rectangles --> NEED TESTING: argument prompts are black rectangles
Comment 3 RKWard Team 2010-10-26 00:56:22 UTC
-- Originally posted by (AT sourceforge.net): casims --
I won't have time to compile from the SVN for a few days.  In the meantime, since downloading an update to many parts of  kde 4.5.1 from the ubuntu repository, the black rectangles no longer appear, but now no argument hinting at all appears.
Comment 4 RKWard Team 2010-10-26 17:05:56 UTC
-- Originally posted by (AT sourceforge.net): rtautenh --
Works great here.

Ubuntu 10.04
rkward 0.5.5-devel1
Using KDE Development Platform 4.4.92 \(KDE 4.4.92 \(KDE 4.5 RC2\)\)
Comment 5 RKWard Team 2010-10-31 13:20:24 UTC
-- Originally posted by (AT sourceforge.net): casims --
I've downloaded and installed rkward\_0.5.5-0daily-2935-201010252345~maverick1\_amd64.deb from the launchpad repository.  There are still no argument hinting boxes.  I tried removing the nvidia driver for my GeForce 9500 GT video card, using the default driver without 3d acceleration instead --- still no hinting boxes.  I tried using a second monitor, different manufacturer and different screen geometry --- still no hinting boxes.  One of these same monitors, running 32-bit Debian testing \(and therefore R 2.11.1, Rkward 0.5.3 with kde 4.4.5\) displays the hints properly.  And the absence of argument hinting happens for short and long argument lists, "str\(" as well as, e.g. "plot.ts\(".

Comment 6 Thomas Friedrichsmeier 2010-10-31 19:07:15 UTC
I can't think of any changes between RKWard 0.5.3 and today that would make argument hints disappear completely. Except, you can \_configure\_ argument hints to be turned off since 0.5.4. Could you please check whether argument hints are enabled at Settings->Configure RKWard->Script Editor?
Comment 7 RKWard Team 2010-10-31 21:38:26 UTC
-- Originally posted by (AT sourceforge.net): casims --
I hadn't realized that the hints could be turned on and off, and they were off.  Now they're on, and I'm back to the black rectangles.  They appear on both monitors, and again with both the nvidia proprietary driver or the default linux driver for the nvidia board.  "str\(" produces a short, single-line black rectangle, while "plot.ts\(" produces a multiline rectangle.
Comment 8 RKWard Team 2010-11-01 00:33:58 UTC
-- Originally posted by (AT sourceforge.net): casims --
On my higher-resolution, glossy-screen monitor I noticed that I can just make out the presence of text on the black rectangle.  The dark gray on black text is not readable, but it's there.  On my other, non-glossy monitor no text can be detected.  So it seems this is a problem of the text and background colors coming out wrong.
Comment 9 RKWard Team 2010-11-03 15:39:19 UTC
-- Originally posted by (AT sourceforge.net): casims --
I found a workaround:  Changing the color for "Tooltip text" in KDE's SystemSettings > Common Appearance and Behavior > Application Appearance > Colors > Colors  to a light color makes the argument hints readable.  The corresponding "Tooltip background" color is not shown as black on this menu, though, and changing it has no effect on the background color for the argument hints in Rkward, which remains black no matter how the Tooltip Text background color is set.
Comment 10 Thomas Friedrichsmeier 2010-11-03 17:58:48 UTC
That last bit about the tooltip background color not being respected really helped to understand what's going on. Thanks. Should now be fixed in SVN / tomorrow's daily build.
Comment 11 Thomas Friedrichsmeier 2010-11-03 17:58:49 UTC
- **summary**: NEED TESTING: argument prompts are black rectangles --> FIXED IN SVN: argument prompts are black rectangles
- **status**: open --> open-fixed
Comment 12 Thomas Friedrichsmeier 2011-03-20 11:27:51 UTC
- **status**: open-fixed --> closed-fixed