[bug #40760] NSFrameRectWithWidth() can't deal with width of 0.0

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

[bug #40760] NSFrameRectWithWidth() can't deal with width of 0.0

dsdsdsds
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/


_______________________________________________
Bug-gnustep mailing list
[hidden email]
https://lists.gnu.org/mailman/listinfo/bug-gnustep
Reply | Threaded
Open this post in threaded view
|

[bug #40760] NSFrameRectWithWidth() can't deal with width of 0.0

dsdsdsds
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/


_______________________________________________
Bug-gnustep mailing list
[hidden email]
https://lists.gnu.org/mailman/listinfo/bug-gnustep
Reply | Threaded
Open this post in threaded view
|

[bug #40760] NSFrameRectWithWidth() can't deal with width of 0.0

dsdsdsds
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/


_______________________________________________
Bug-gnustep mailing list
[hidden email]
https://lists.gnu.org/mailman/listinfo/bug-gnustep
Reply | Threaded
Open this post in threaded view
|

[bug #40760] NSFrameRectWithWidth() can't deal with width of 0.0

dsdsdsds
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/


_______________________________________________
Bug-gnustep mailing list
[hidden email]
https://lists.gnu.org/mailman/listinfo/bug-gnustep