Discussion:
[bug #40760] NSFrameRectWithWidth() can't deal with width of 0.0
Jeff Teunissen
2013-12-01 00:13:27 UTC
Permalink
URL:
<http://savannah.gnu.org/bugs/?40760>

Summary: NSFrameRectWithWidth() can't deal with width of 0.0
Project: GNUstep
Submitted by: Deek
Submitted on: Sat 30 Nov 2013 07:13:26 PM EST
Category: Gui/AppKit
Severity: 3 - Normal
Item Group: Bug
Status: None
Privacy: Public
Assigned to: None
Open/Closed: Open
Discussion Lock: Any

_______________________________________________________

Details:

TextEdit calls NSFrameRectWithWidth(foo, 0.0) to draw a colored frame around
the text view when in multiple page mode. On GNUstep, this results in no frame
being drawn.

Expected result: a 1-pixel-thick (regardless of zoom, a zero-thickness line is
1 pixel thick) frame around the text view(s).






_______________________________________________________

Reply to this item at:

<http://savannah.gnu.org/bugs/?40760>

_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
Fred Kiefer
2013-12-01 20:58:57 UTC
Permalink
Update of bug #40760 (project gnustep):

Status: None => Ready For Test
Assigned to: None => FredKiefer
Open/Closed: Open => In Test

_______________________________________________________

Follow-up Comment #1:

I just submitted a patch for this, please give it a try.

_______________________________________________________

Reply to this item at:

<http://savannah.gnu.org/bugs/?40760>

_______________________________________________
Nachricht gesendet von/durch Savannah
http://savannah.gnu.org/
Jeff Teunissen
2013-12-02 08:05:49 UTC
Permalink
Follow-up Comment #2, bug #40760 (project gnustep):

Works well. I recommend using this feature everywhere, to keep UI elements
from getting "chunky" when scaled (which is why it's used in TextEdit to begin
with).


_______________________________________________________

Reply to this item at:

<http://savannah.gnu.org/bugs/?40760>

_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
Fred Kiefer
2018-01-23 20:04:56 UTC
Permalink
Update of bug #40760 (project gnustep):

Status: Ready For Test => Fixed
Open/Closed: In Test => Closed


_______________________________________________________

Reply to this item at:

<http://savannah.gnu.org/bugs/?40760>

_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/

Loading...