Bug 130279 - Drawing a line in an empty window results in an invisible line
Summary: Drawing a line in an empty window results in an invisible line
Status: RESOLVED WORKSFORME
Alias: None
Product: kst
Classification: Applications
Component: general (show other bugs)
Version: 1.x
Platform: unspecified Solaris
: NOR normal
Target Milestone: ---
Assignee: kst
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-07-05 09:46 UTC by Nicolas Brisset
Modified: 2017-01-15 23:43 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Nicolas Brisset 2006-07-05 09:46:38 UTC
Version:           1.3.0_devel (using KDE 3.4.0, compiled sources)
Compiler:          gcc version 3.4.3
OS:                SunOS (sun4u) release 5.8

To reproduce:

1) start kst, don't load any file and close the startup dialog
2) draw a line: it is not visible, even though it is there (the view manager shows it)
3) draw an other object
4) lines can now be drawn !

Expected result: drawing a line always shows it !
Comment 1 George Staikos 2006-07-05 11:18:29 UTC
  Works for me.  Didn't we go through this before and decide it was a Solaris 
specific issue?
Comment 2 Nicolas Brisset 2006-07-05 11:22:45 UTC
No, not as far as I can remember. I have been playing with view objects a bit and there is definitively something wrong with lines and arrows. I really don't think it is a Solaris issue, as all other objects draw correctly and probably use the same drawing functions...
Comment 3 Andrew Walker 2006-07-05 20:17:10 UTC
Nicolas, I am unable to reproduce this problem so could you provide more information e.g. what is the default line width in settings dialog, what window mode are you using, are you drawing the line in the same orientation every time, etc?
Comment 4 Nicolas Brisset 2006-07-06 18:21:14 UTC
Could it be that this is a result of bug #121068 as well ? I use the tabbed window MDI mode and have a default line width of 0 configured in general settings (though the lines I draw default to a width of 2!). The problem seems to happen only with vertical (and sometimes horizontal) lines (like in bug #130283).
Comment 5 Andrew Walker 2006-07-06 20:56:27 UTC
Nicolas, I'm not yet able to reproduce exactly what you describe.
The settings dialog line width refers to Curves only and not Lines.
I'll continue playing around with things and see what I can find.
Comment 6 Nicolas Brisset 2006-07-07 16:34:10 UTC
I have just tested this in a local Linux session, and the lines are shown indeed (width is still not adapted for horizontal/vertical lines, but this is bug #121068). I just don't understand why we never have such problems with axes or grid lines, but it sounds like it's going to be hard to fix if it is too specific (like Cygwin/XFree remote connection to a Solaris box!!!). If you have ideas, that's nice. Otherwise, I suppose we'll have to close the report.
By the way, the lines are correctly shown in a graphics output.
Comment 7 Andrew Walker 2006-08-02 00:31:04 UTC
Mark this as resolved for now. Nicolas, if you get any more information on the problem please re-open.