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


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

Submitter:  Quentin Mathé <qmathe>
Submitted:  Sat 21 Jun 2008 10:34:15 AM UTC
Category:  Backend Severity:  3 - Normal
Item Group:  Bug Status:  Confirmed
Privacy:  Public Assigned to:  FredKiefer
Open/Closed:  Open
* Mandatory Fields

Add a New Comment Rich Markup

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>
Group Member
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>
Group 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>
Group Member
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 Mathé <qmathe>
Group Member


(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:

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


Depends on the following items: None found

Items that depend on this one: None found


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

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.


    Follow 4 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2008-08-19 FredKiefer StatusNone Confirmed
        Assigned toNone FredKiefer
    2008-06-21 qmathe Attached File- Added class-editor-backart.png, #15895
        Attached File- Added class-editor-cairo.png, #15896

    Back to the top

    Powered by Savane 3.13-4448.
    Corresponding source code