bugGNUstep - Bugs: bug #23660, Drawing issues for control borders...

 
 

You are not allowed to post comments on this tracker with your current authentification level.

bug #23660: Drawing issues for control borders with art backend

Submitted by:  Quentin Mathé <qmathe>
Submitted on:  Sat 21 Jun 2008 10:34:15 AM UTC  
 
Category: BackendSeverity: 3 - Normal
Item Group: BugStatus: Confirmed
Privacy: PublicAssigned to: Fred Kiefer <FredKiefer>
Open/Closed: Open

Tue 19 Aug 2008 06:58:54 PM UTC, comment #3:

I had a deeper look into this and it turns out that the original class inspector panel looks fine even with the art backend. But due to size differences that panel gets scaled up and art doesn't handle this well. The horizontal lines get blured.
So this is nothing that could be corrected in Gorm, even when all the inspectors are designed for the same size, a user could just resize the window. Perhaps this change is still worthwhile, at least the default look would be better.

I don't see much chance of improving this in the art backend. Perhaps we could just note this as a limitation of that backend.

Fred Kiefer <FredKiefer>
Project MemberIn charge of this item.
Fri 11 Jul 2008 03:30:21 PM UTC, comment #2:

Have you checked the sizes to confirm this? If so I'll be glad to correct the issue.

I'm wondering, though, are non-integer sized controls necessarily an issue since they are possible, given that the sizes are expressed in terms of floats rather than integer values.

What I do know is that when the controls palette was created, it was done with integer values as was every other palette

Gregory John Casamento <gcasa>
Project Administrator
Sun 22 Jun 2008 06:52:41 PM UTC, comment #1:

The interesting bit here is that other controls get drawn correctly with the art backend in Gorm. For example, if you drag a text field onto a new window it will look OK, even though the template has a wrong right border.
My suspicion is that the drawing depends on the size of the control and that Gorm may use non-integer sized controls. In that case this is rather a Gorm bug and less one of the art backend.

Fred Kiefer <FredKiefer>
Project MemberIn charge of this item.
Sat 21 Jun 2008 10:34:15 AM UTC, original submission:

Ubuntu 7.10 (Gutsy) x86
GCC 4.1.3
base, back, gui, gorm: r26686

Art backend seems not to draw control borders as it should. As you can see on the attached screenshot 'class-editor-backart', borders for text fields, table views and specially buttons look a bit thick and blurry. It's more visible if you compare the two attached screenshots of the same window: one with art and one with cairo. In the cairo screenshot, many things look different but the important point is that the control borders look as they looked previously with art. Unfortunately I cannot remember at which point these drawing glitches appeared for the first time with the art backend.

Quentin.

Quentin Mathé <qmathe>
Project Member

 

Attached Files
file #15896:  class-editor-cairo.png added by qmathe (23kB - image/png)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by gcasa (Posted a comment)
  • -unavailable- added by FredKiefer (Posted a comment)
  • -unavailable- added by qmathe (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 4 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Tue 19 Aug 2008 06:58:54 PM UTCFredKieferStatusNone=>Confirmed
      Assigned toNone=>FredKiefer
    Sat 21 Jun 2008 10:34:15 AM UTCqmatheAttached File-=>Added class-editor-backart.png, #15895
      Attached File-=>Added class-editor-cairo.png, #15896

    Back to the top


    Powered by Savane 3.1-cleanup