[jira] [Comment Edited] (NETBEANS-346) Tabs, characters, and the right Margin don't line up

2019-01-17 Thread Eirik Bakke (JIRA)


[ 
https://issues.apache.org/jira/browse/NETBEANS-346?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16745348#comment-16745348
 ] 

Eirik Bakke edited comment on NETBEANS-346 at 1/17/19 6:09 PM:
---

Drawing the end-of-line marker in the wrong place has turned out to be a quite 
bad bug. For myself, it took about 4 months to discover the problem, and 
another month to discover a workaround (which is to select a zoom level for 
which the marker happens to be in the right place). My source code repository 
now has a mix of line widths from the 4 months of work during which I was 
unaware of the problem, and my git log is littered with "fix line widths"-type 
entries. To properly repair the damage, I had to spend an hour setting up 
checkstyle and going into each file to correct all the line widths. Increased 
the bug priority to "Critical" for this reason.


was (Author: ebakke):
Drawing the end-of-line marker in the wrong place has turned out to be a quite 
bad bug. For myself, it took about 4 months to discover the problem, and 
another month to discover a workaround (which is to select a zoom level for 
which the marker happens to be in the right place). My source code repository 
now has a mix of line widths from the 4 months of work during which I was 
unaware of the problem, and my git log is littered with "fix line widths"-type 
entries. To properly repair the damage I had to spend an hour setting up 
checkstyle and going into each file to correct all the line widths. Increased 
the bug priority to "Critical" for this reason.

> Tabs, characters, and the right Margin don't line up
> 
>
> Key: NETBEANS-346
> URL: https://issues.apache.org/jira/browse/NETBEANS-346
> Project: NetBeans
>  Issue Type: Bug
>  Components: editor - Other
>Affects Versions: 9.0
> Environment: Mac OS 10.10 (at least)
>Reporter: Austin Stephens
>Priority: Critical
>  Labels: HiDPI, font
> Attachments: Screen Shot 2018-01-29 at 4.58.35 PM.png, Screen Shot 
> 2018-02-28 at 11.27.32 AM.png, linewidth.png
>
>
> When the Right Margin is set at 80 chars, it is drawn at 8*2* chars. This is 
> annoying because I have a 1440x900 screen that I split vertically in to two. 
> This results in two editing areas that are about 80 chars wide. I could see 
> the margin line in both editors when scrolled all the way to the left. Since 
> Netbeans (9.0 beta) is now drawing them at char 8*2*, it is not possible to 
> size those editors so I can see the line in both windows and it is driving me 
> crazy.
> This is a first world issue at the moment, but you might find code coming 
> from mac programmers coming in two or more chars too wide in the Netbeans 
> source code.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



[jira] [Comment Edited] (NETBEANS-346) Tabs, characters, and the right Margin don't line up

2018-08-25 Thread Eirik Bakke (JIRA)


[ 
https://issues.apache.org/jira/browse/NETBEANS-346?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16592719#comment-16592719
 ] 

Eirik Bakke edited comment on NETBEANS-346 at 8/25/18 10:09 PM:


After some experimentation, I think this bug is _not_ related to the choice of 
font, but rather to the editor zoom level, in combination with HiDPI (on 
Windows) or Retina (on MacOS) screens.

Austin Stephens, am I correct to guess that you have a Retina screen? (I.e. 
MacBook Pro, not a MacBook Air?)

I'm on Windows myself, but I have a Lenovo X1 carbon laptop with a HiDPI 
screen. The bug occurs on _all_ fonts I have tried, at several sizes, but 
_only_ when the screen scaling is set at something else than 100% (specifically 
150% or 200%; the latter is Windows 10's default setting on these kinds of 
screens). Note that setting screen scaling to 100% is not a practical option on 
these screens, as everything would become super-tiny.

The bug occurred with _all_ of the monospaced fonts that I tried:
* Consolas 13
* Lucida Sans Typewriter 13
* Courier New 13
* Monospaced 13
* Monospaced 18

To reproduce the bug, run NetBeans on either a MacBook with a retina-enabled 
screen, or a Windows laptop with a HiDPI screen set to zoom level 150% or 200%. 
Then type a line in the editor that's exactly as many characters wide as the 
right margin marker line _should_ reach. Then zoom in or out and observe that 
the right margin marker line moves to the left or right of the end of the line 
depending on the zoom level. (On some zoom levels the right margin marker line 
actually appears in the right position--but there's no way the user can see 
this during regular use, without counting up the characters manually first.)



was (Author: ebakke):
After some experimentation, I think this bug is _not_ related to the choice of 
font, but rather to the editor zoom level, in combination with HiDPI (on 
Windows) or Retina (on MacOS) screens.

Austin Stephens, am I correct to guess that you have a Retina screen? (I.e. 
MacBook Pro, not a MacBook Air?)

I'm on Windows myself, but I have a Lenovo X1 carbon laptop with a HiDPI 
screen. The bug occurs on _all_ fonts I have tried, at several sizes, but 
_only_ when the screen scaling is set at something else than 100% (specifically 
150% or 200%--the latter is Windows 10's default setting on these kinds of 
screens). Note that setting screen scaling to 100% is not a practical option on 
these screens--everything would become super-tiny.

The bug occurred with _all_ of the monospaced fonts that I tried:
* Consolas 13
* Lucida Sans Typewriter 13
* Courier New 13
* Monospaced 13
* Monospaced 18

To reproduce the bug, run NetBeans on either a MacBook with a retina-enabled 
screen, or a Windows laptop with a HiDPI screen set to zoom level 150% or 200%. 
Then type a line in the editor that's exactly as many characters wide as the 
right margin marker line _should_ reach. Then zoom in or out and observe that 
the right margin marker line moves to the left or right of the end of the line 
depending on the zoom level. (On some zoom levels the right margin marker line 
actually appears in the right position--but there's no way the user can see 
this during regular use, without counting up the characters manually first.)


> Tabs, characters, and the right Margin don't line up
> 
>
> Key: NETBEANS-346
> URL: https://issues.apache.org/jira/browse/NETBEANS-346
> Project: NetBeans
>  Issue Type: Bug
>  Components: editor - Other
>Affects Versions: 9.0
> Environment: Mac OS 10.10 (at least)
>Reporter: Austin Stephens
>Priority: Major
> Attachments: Screen Shot 2018-01-29 at 4.58.35 PM.png, Screen Shot 
> 2018-02-28 at 11.27.32 AM.png, linewidth.png
>
>
> When the Right Margin is set at 80 chars, it is drawn at 8*2* chars. This is 
> annoying because I have a 1440x900 screen that I split vertically in to two. 
> This results in two editing areas that are about 80 chars wide. I could see 
> the margin line in both editors when scrolled all the way to the left. Since 
> Netbeans (9.0 beta) is now drawing them at char 8*2*, it is not possible to 
> size those editors so I can see the line in both windows and it is driving me 
> crazy.
> This is a first world issue at the moment, but you might find code coming 
> from mac programmers coming in two or more chars too wide in the Netbeans 
> source code.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:

[jira] [Comment Edited] (NETBEANS-346) Tabs, characters, and the right Margin don't line up

2018-08-25 Thread Eirik Bakke (JIRA)


[ 
https://issues.apache.org/jira/browse/NETBEANS-346?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16592719#comment-16592719
 ] 

Eirik Bakke edited comment on NETBEANS-346 at 8/25/18 10:09 PM:


After some experimentation, I think this bug is _not_ related to the choice of 
font, but rather to the editor zoom level, in combination with HiDPI (on 
Windows) or Retina (on MacOS) screens.

Austin Stephens, am I correct to guess that you have a Retina screen? (I.e. 
MacBook Pro, not a MacBook Air?)

I'm on Windows myself, but I have a Lenovo X1 carbon laptop with a HiDPI 
screen. The bug occurs on _all_ fonts I have tried, at several sizes, but 
_only_ when the screen scaling is set at something else than 100% (specifically 
150% or 200%--the latter is Windows 10's default setting on these kinds of 
screens). Note that setting screen scaling to 100% is not a practical option on 
these screens--everything would become super-tiny.

The bug occurred with _all_ of the monospaced fonts that I tried:
* Consolas 13
* Lucida Sans Typewriter 13
* Courier New 13
* Monospaced 13
* Monospaced 18

To reproduce the bug, run NetBeans on either a MacBook with a retina-enabled 
screen, or a Windows laptop with a HiDPI screen set to zoom level 150% or 200%. 
Then type a line in the editor that's exactly as many characters wide as the 
right margin marker line _should_ reach. Then zoom in or out and observe that 
the right margin marker line moves to the left or right of the end of the line 
depending on the zoom level. (On some zoom levels the right margin marker line 
actually appears in the right position--but there's no way the user can see 
this during regular use, without counting up the characters manually first.)



was (Author: ebakke):
After some experimentation, I think this bug is _not_ related to the choice of 
font, but rather to the editor zoom level, in combination with HiDPI (on 
Windows) or Retina (on MacOS) screens.

Austin Stephens, am I correct to guess that you have a Retina screen? (I.e. 
MacBook Pro, not a MacBook Air?)

I'm on Windows myself, but I have a Lenovo X1 carbon laptop with a HiDPI 
screen. The bug occurs on _all_ fonts I have tried, at several sizes, but 
_only_ when the screen scaling is set at something else than 100% (specifically 
150% or 200%--the latter is Windows 10's default setting on these kinds of 
screens).

The bug occurred with _all_ of the monospaced fonts that I tried:
* Consolas 13
* Lucida Sans Typewriter 13
* Courier New 13
* Monospaced 13
* Monospaced 18

To reproduce the bug, run NetBeans on either a MacBook with a retina-enabled 
screen, or a Windows laptop with a HiDPI screen set to zoom level 150% or 200%. 
Then type a line in the editor that's exactly as many characters wide as the 
right margin marker line _should_ reach. Then zoom in or out and observe that 
the right margin marker line moves to the left or right of the end of the line 
depending on the zoom level. (On some zoom levels the right margin marker line 
actually appears in the right position--but there's no way the user can see 
this during regular use, without counting up the characters manually first.)


> Tabs, characters, and the right Margin don't line up
> 
>
> Key: NETBEANS-346
> URL: https://issues.apache.org/jira/browse/NETBEANS-346
> Project: NetBeans
>  Issue Type: Bug
>  Components: editor - Other
>Affects Versions: 9.0
> Environment: Mac OS 10.10 (at least)
>Reporter: Austin Stephens
>Priority: Major
> Attachments: Screen Shot 2018-01-29 at 4.58.35 PM.png, Screen Shot 
> 2018-02-28 at 11.27.32 AM.png, linewidth.png
>
>
> When the Right Margin is set at 80 chars, it is drawn at 8*2* chars. This is 
> annoying because I have a 1440x900 screen that I split vertically in to two. 
> This results in two editing areas that are about 80 chars wide. I could see 
> the margin line in both editors when scrolled all the way to the left. Since 
> Netbeans (9.0 beta) is now drawing them at char 8*2*, it is not possible to 
> size those editors so I can see the line in both windows and it is driving me 
> crazy.
> This is a first world issue at the moment, but you might find code coming 
> from mac programmers coming in two or more chars too wide in the Netbeans 
> source code.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



[jira] [Comment Edited] (NETBEANS-346) Tabs, characters, and the right Margin don't line up

2018-08-25 Thread Eirik Bakke (JIRA)


[ 
https://issues.apache.org/jira/browse/NETBEANS-346?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16592719#comment-16592719
 ] 

Eirik Bakke edited comment on NETBEANS-346 at 8/25/18 10:08 PM:


After some experimentation, I think this bug is _not_ related to the choice of 
font, but rather to the editor zoom level, in combination with HiDPI (on 
Windows) or Retina (on MacOS) screens.

Austin Stephens, am I correct to guess that you have a Retina screen? (I.e. 
MacBook Pro, not a MacBook Air?)

I'm on Windows myself, but I have a Lenovo X1 carbon laptop with a HiDPI 
screen. The bug occurs on _all_ fonts I have tried, at several sizes, but 
_only_ when the screen scaling is set at something else than 100% (specifically 
150% or 200%--the latter is Windows 10's default setting on these kinds of 
screens).

The bug occurred with _all_ of the monospaced fonts that I tried:
* Consolas 13
* Lucida Sans Typewriter 13
* Courier New 13
* Monospaced 13
* Monospaced 18

To reproduce the bug, run NetBeans on either a MacBook with a retina-enabled 
screen, or a Windows laptop with a HiDPI screen set to zoom level 150% or 200%. 
Then type a line in the editor that's exactly as many characters wide as the 
right margin marker line _should_ reach. Then zoom in or out and observe that 
the right margin marker line moves to the left or right of the end of the line 
depending on the zoom level. (On some zoom levels the right margin marker line 
actually appears in the right position--but there's no way the user can see 
this during regular use, without counting up the characters manually first.)



was (Author: ebakke):
After some experimentation, I think this bug is _not_ related to the choice of 
font, but rather to the editor zoom level, in combination with HiDPI (on 
Windows) or Retina (on MacOS) screens.

Austin Stephens, am I correct to guess that you have a Retina screen? (I.e. 
MacBook Pro, not a MacBook Air?)

I'm on Windows myself, but I have a Lenovo X1 carbon laptop with a HiDPI 
screen. The bug occurs on _all_ fonts I have tried, at several sizes, but 
_only_ when the screen scaling is set at something else than 100% (specifically 
150% or 200%--the latter is Windows 10's default setting on these kinds of 
screens).

The bug occurred with _all_ of the monospaced fonts that I tried:
* Consolas 13
* Lucida Sans Typewriter 13
* Courier New 13
* Monospaced 13
* Monospaced 18

To reproduce the bug, run NetBeans on either a MacBook with a retina-enabled 
screen, or a Windows laptop with a HiDPI screen set to zoom level 150% or 200%. 
Then type a line in the editor that's exactly as many characters wide as the 
right margin marker line _should_ reach. Then zoom in or out and observe that 
the right margin marker line moves to the left or right of the end of the line 
depending on the zoom level. (On some zoom levels the right margin marker line 
actually appears in the right position--but there's no way the user can see 
this during regular use, without counting up the characters manually first.)

While the issue has a workaround (manually adjust the zoom level until manual 
inspection reveals the end-of-line marker to be in the right position), it 
makes the editor zoom feature much less usable--so I'd say this is a bug that 
should be fixed in NetBeans.


> Tabs, characters, and the right Margin don't line up
> 
>
> Key: NETBEANS-346
> URL: https://issues.apache.org/jira/browse/NETBEANS-346
> Project: NetBeans
>  Issue Type: Bug
>  Components: editor - Other
>Affects Versions: 9.0
> Environment: Mac OS 10.10 (at least)
>Reporter: Austin Stephens
>Priority: Major
> Attachments: Screen Shot 2018-01-29 at 4.58.35 PM.png, Screen Shot 
> 2018-02-28 at 11.27.32 AM.png, linewidth.png
>
>
> When the Right Margin is set at 80 chars, it is drawn at 8*2* chars. This is 
> annoying because I have a 1440x900 screen that I split vertically in to two. 
> This results in two editing areas that are about 80 chars wide. I could see 
> the margin line in both editors when scrolled all the way to the left. Since 
> Netbeans (9.0 beta) is now drawing them at char 8*2*, it is not possible to 
> size those editors so I can see the line in both windows and it is driving me 
> crazy.
> This is a first world issue at the moment, but you might find code coming 
> from mac programmers coming in two or more chars too wide in the Netbeans 
> source code.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit: