Bug 125817 - Zero-width lines invisible on MacBook
Summary: Zero-width lines invisible on MacBook
Status: RESOLVED WORKSFORME
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Draw (show other bugs)
Version:
(earliest affected)
6.2.4.2 release
Hardware: x86-64 (AMD64) macOS (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-06-09 20:59 UTC by brian.bj.parker99
Modified: 2019-11-16 17:44 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description brian.bj.parker99 2019-06-09 20:59:06 UTC
Description:
On a recent macbook (e.g MacBook Pro 2108) with a high resolution display, zero-width lines disappear.  Zero width lines are meant to show as a single pixel (thinnest possible width) line.
This is a problem as new lines in Draw default to zero width, and also help lines in Draw don't show as presumably they are being drawn zero-width.  

Steps to Reproduce:
1.Open draw to get a new canvas
2. Select line drawing tool and add a line to the canvas
3. Line will be invisible
4. Go to styles and right click on default, and click modify
5. Change line width from zero to 0.5 mm. Now line will appear.
6. Enable view|grid and help lines| help lines while moving
7. Drag line or other shape on canvas- help lines do not show.

Actual Results:
A default line does not display on high resolution MacBook displays as zero width lines are incorrectly not being shown as single pixel wide lines.

Expected Results:
By default adding a line using draw should show a thin line.


Reproducible: Always


User Profile Reset: No



Additional Info:
Comment 1 brian.bj.parker99 2019-06-09 21:00:05 UTC
Macon is version 10.14.5 (Mojave)
Comment 2 brian.bj.parker99 2019-06-10 12:43:01 UTC
An additional comment:
after zooming in greatly, it can be seen that a faint single-pixel line *is* being drawn for both an added line and the help lines, but at normal zoom they disappear.

A single pixel line shouldn't disappear at normal zoom, so that is the primary bug that should be fixed, but perhaps another improvement would be to make the help lines simply use a thicker line (like the grid lines which do show correctly at all zoom levels). And perhaps the default line style should use, say, a 0.5 mm line and not a 0mm line. 


(In reply to brian.bj.parker99 from comment #0)
> Description:
> On a recent macbook (e.g MacBook Pro 2108) with a high resolution display,
> zero-width lines disappear.  Zero width lines are meant to show as a single
> pixel (thinnest possible width) line.
> This is a problem as new lines in Draw default to zero width, and also help
> lines in Draw don't show as presumably they are being drawn zero-width.  
> 
> Steps to Reproduce:
> 1.Open draw to get a new canvas
> 2. Select line drawing tool and add a line to the canvas
> 3. Line will be invisible
> 4. Go to styles and right click on default, and click modify
> 5. Change line width from zero to 0.5 mm. Now line will appear.
> 6. Enable view|grid and help lines| help lines while moving
> 7. Drag line or other shape on canvas- help lines do not show.
> 
> Actual Results:
> A default line does not display on high resolution MacBook displays as zero
> width lines are incorrectly not being shown as single pixel wide lines.
> 
> Expected Results:
> By default adding a line using draw should show a thin line.
> 
> 
> Reproducible: Always
> 
> 
> User Profile Reset: No
> 
> 
> 
> Additional Info:
Comment 3 Alex Thurgood 2019-06-11 16:26:45 UTC
@Brian : am pretty certain that this has been fixed recently, so the changes will only be present in a recent daily build, and should be present in the next 6.2 release.
Comment 4 Alex Thurgood 2019-06-11 16:28:01 UTC
@Xisco : is this the problem (or a similar one) that you pushed fixes for recently?
Comment 5 Xisco Faulí 2019-06-11 16:31:13 UTC
I believe so...

Could you please try to reproduce it with a master build from http://dev-builds.libreoffice.org/daily/master/ ?
You can install it alongside the standard version.
I have set the bug's status to 'NEEDINFO'. Please change it back to 'UNCONFIRMED' if the bug is still present in the master build
Comment 6 Alex Thurgood 2019-11-12 16:02:23 UTC
No repro in 

Version: 6.3.2.2
Build ID: 98b30e735bda24bc04ab42594c85f7fd8be07b9c
Threads CPU : 4; OS : Mac OS X 10.15.1; UI Render : par défaut; VCL: osx; 
Locale : fr-FR (fr_FR.UTF-8); Langue IHM : fr-FR
Calc: threaded

The default line width is 0.5pt and is visible in a new Draw document for e.g. a straight line drawn with the corresponding tool from the toolbar.

Closing as WFM
Comment 7 brian.bj.parker99 2019-11-16 17:44:01 UTC
Yes, this has been fixed in the latest version. Version: 6.3.3.2

(In reply to Alex Thurgood from comment #6)
> No repro in 
> 
> Version: 6.3.2.2
> Build ID: 98b30e735bda24bc04ab42594c85f7fd8be07b9c
> Threads CPU : 4; OS : Mac OS X 10.15.1; UI Render : par défaut; VCL: osx; 
> Locale : fr-FR (fr_FR.UTF-8); Langue IHM : fr-FR
> Calc: threaded
> 
> The default line width is 0.5pt and is visible in a new Draw document for
> e.g. a straight line drawn with the corresponding tool from the toolbar.
> 
> Closing as WFM