ScreenRuler icon indicating copy to clipboard operation
ScreenRuler copied to clipboard

Measurement numbers of hypotenuse intersect in dark mode

Open adamp4 opened this issue 4 years ago • 19 comments

批注 2021-11-07 160338

adamp4 avatar Nov 07 '21 09:11 adamp4

Hard to read mesurement numbers of heigh 批注 2021-11-07 173352 t

adamp4 avatar Nov 07 '21 09:11 adamp4

Hey @adamp4, unfortunately, I'm currently unable to reproduce these issues with the latest version (0.9.1) of ScreenRuler. Could you add some details about your setup, e.g. are you using high-DPI monitors, Windows display scaling, and/multiple monitors with different resolutions?

alxnull avatar Apr 07 '22 10:04 alxnull

Hi @alxnull, Yes i'm using high DPI monitor, no mutiple monitors, i'v set high DPI scalling override property as 'application'. 批注 2022-04-07 214708

Uploading image.png… 批注 2022-04-07 214910

adamp4 avatar Apr 07 '22 13:04 adamp4

Hi @alxnull, Yes i'm using high DPI monitor, no mutiple monitors, i'v set high DPI scalling override property as 'application'. 批注 2022-04-07 214708

Uploading image.png… 批注 2022-04-07 214910

adamp4 avatar Apr 07 '22 13:04 adamp4

@adamp4 I believe this issue is related to the display scaling issues described in #52. I'm currently testing an update that should fix these kinds of problems there. Would be happy if you could try out the preview version from https://github.com/Bluegrams/ScreenRuler/issues/52#issue-1118361298 and give feedback there if this fixes your issue. Thanks!

alxnull avatar Apr 10 '22 15:04 alxnull

@alxnull Tried, issue still exists.

image

adamp4 avatar Apr 11 '22 10:04 adamp4

@alxnull The height of rows shrink when applied high DPI scalling override property 批注 2022-04-11 182740

adamp4 avatar Apr 11 '22 10:04 adamp4

Took a look at the two specific problems again and made another fix. Download still at https://sourceforge.net/projects/screenruler/files/pre-release/ScreenRuler-v.0.10.0-Portable.zip/download. Please try again, thanks!

alxnull avatar Apr 11 '22 13:04 alxnull

@alxnull Fixed, one more step to be prefect, pls check attached pic. 批注 2022-04-12 141326

adamp4 avatar Apr 12 '22 06:04 adamp4

@alxnull Chinese(PRC) translation suggestion for "keyboard shorts" : 热键设置 批注 2022-04-12 142126

adamp4 avatar Apr 12 '22 06:04 adamp4

@alxnull I modified Help.zh-CN.html for better readability. Pls check attachment Help.zh.html.zip

adamp4 avatar Apr 12 '22 06:04 adamp4

@alxnull 批注 2022-04-12 143350

adamp4 avatar Apr 12 '22 06:04 adamp4

@alxnull 批注 2022-04-12 143711

adamp4 avatar Apr 12 '22 06:04 adamp4

@alxnull The ruler scale is not slim after applied 'slim scale', just personal option, the pervious slim mode is much better. 未命名

adamp4 avatar Apr 12 '22 07:04 adamp4

@alxnull App crashed when i open marker list and closed then right click ruler to open menu. 批注 2022-04-12 150626

************** 异常文本 ************** System.ObjectDisposedException: 无法访问已释放的对象。 对象名:“MarkerListForm”。 在 System.Windows.Forms.Control.CreateHandle() 在 System.Windows.Forms.Form.CreateHandle() 在 System.Windows.Forms.Control.get_Handle() 在 ScreenRuler.Units.UnitConverter.FromSettings(Control control, Settings settings, Nullable1 unit) 在 ScreenRuler.MarkerListForm.updateUnitConverter(Nullable1 unit) 在 ScreenRuler.MarkerListForm.settings_Changed(Object sender, EventArgs e) 在 ScreenRuler.Configuration.Settings.InvokeChanged() 在 ScreenRuler.RulerForm.comUnits_SelectedIndexChanged(Object sender, EventArgs e) 在 System.Windows.Forms.ToolStripItem.RaiseEvent(Object key, EventArgs e) 在 System.Windows.Forms.ToolStripComboBox.OnSelectedIndexChanged(EventArgs e) 在 System.Windows.Forms.ToolStripComboBox.HandleSelectedIndexChanged(Object sender, EventArgs e) 在 System.Windows.Forms.ComboBox.OnSelectedIndexChanged(EventArgs e) 在 System.Windows.Forms.ComboBox.set_SelectedIndex(Int32 value) 在 System.Windows.Forms.ToolStripComboBox.set_SelectedIndex(Int32 value) 在 ScreenRuler.RulerForm.contxtMenu_Opening(Object sender, CancelEventArgs e) 在 System.Windows.Forms.ToolStripDropDown.OnOpening(CancelEventArgs e) 在 System.Windows.Forms.ToolStripDropDown.SetVisibleCore(Boolean visible) 在 System.Windows.Forms.ContextMenuStrip.SetVisibleCore(Boolean visible) 在 System.Windows.Forms.ToolStripDropDown.Show(Control control, Point position) 在 System.Windows.Forms.ContextMenuStrip.ShowInternal(Control source, Point location, Boolean isKeyboardActivated) 在 System.Windows.Forms.Control.WmContextMenu(Message& m, Control sourceControl) 在 System.Windows.Forms.Control.WmContextMenu(Message& m) 在 System.Windows.Forms.Control.WndProc(Message& m) 在 System.Windows.Forms.ScrollableControl.WndProc(Message& m) 在 System.Windows.Forms.ContainerControl.WndProc(Message& m) 在 System.Windows.Forms.Form.WndProc(Message& m) 在 ScreenRuler.RulerForm.WndProc(Message& m) 在 System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m) 在 System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m) 在 System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

************** 已加载的程序集 ************** mscorlib 程序集版本:4.0.0.0 Win32 版本:4.8.4250.0 built by: NET48REL1LAST_C 基本代码:file:///C:/Windows/Microsoft.NET/Framework/v4.0.30319/mscorlib.dll

screenruler 程序集版本:0.10.0.0 Win32 版本:0.10.0 基本代码:file:///D:/Pro/ScreenRuler/screenruler.exe

System 程序集版本:4.0.0.0 Win32 版本:4.8.4200.0 built by: NET48REL1LAST_C 基本代码:file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll

CommandLine 程序集版本:2.8.0.0 Win32 版本:0.10.0 基本代码:file:///D:/Pro/ScreenRuler/screenruler.exe

System.Core 程序集版本:4.0.0.0 Win32 版本:4.8.4220.0 built by: NET48REL1LAST_C 基本代码:file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll

System.Windows.Forms 程序集版本:4.0.0.0 Win32 版本:4.8.4250.0 built by: NET48REL1LAST_C 基本代码:file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll

System.Drawing 程序集版本:4.0.0.0 Win32 版本:4.8.4084.0 built by: NET48REL1 基本代码:file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll

AppHelpers.WinForms 程序集版本:0.1.1.0 Win32 版本:0.10.0 基本代码:file:///D:/Pro/ScreenRuler/screenruler.exe

System.Configuration 程序集版本:4.0.0.0 Win32 版本:4.8.4190.0 built by: NET48REL1LAST_B 基本代码:file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll

System.Xml 程序集版本:4.0.0.0 Win32 版本:4.8.4084.0 built by: NET48REL1 基本代码:file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll

PortableSettingsProvider 程序集版本:0.2.4.0 Win32 版本:0.10.0 基本代码:file:///D:/Pro/ScreenRuler/screenruler.exe

System.Xml.Linq 程序集版本:4.0.0.0 Win32 版本:4.8.4084.0 built by: NET48REL1 基本代码:file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml.Linq/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.Linq.dll

Anonymously Hosted DynamicMethods Assembly 程序集版本:0.0.0.0 Win32 版本:4.8.4250.0 built by: NET48REL1LAST_C 基本代码:file:///C:/Windows/Microsoft.Net/assembly/GAC_32/mscorlib/v4.0_4.0.0.0__b77a5c561934e089/mscorlib.dll

screenruler.resources 程序集版本:0.10.0.0 Win32 版本:0.10.0 基本代码:file:///D:/Pro/ScreenRuler/zh-CN/screenruler.resources.DLL

System.Windows.Forms.resources 程序集版本:4.0.0.0 Win32 版本:4.8.4084.0 built by: NET48REL1 基本代码:file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms.resources/v4.0_4.0.0.0_zh-Hans_b77a5c561934e089/System.Windows.Forms.resources.dll

Accessibility 程序集版本:4.0.0.0 Win32 版本:4.8.4084.0 built by: NET48REL1 基本代码:file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/Accessibility/v4.0_4.0.0.0__b03f5f7f11d50a3a/Accessibility.dll

Microsoft.GeneratedCode 程序集版本:1.0.0.0 Win32 版本:4.8.4084.0 built by: NET48REL1 基本代码:file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll

System.xml.resources 程序集版本:4.0.0.0 Win32 版本:4.8.4084.0 built by: NET48REL1 基本代码:file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml.resources/v4.0_4.0.0.0_zh-Hans_b77a5c561934e089/System.Xml.resources.dll

Microsoft.GeneratedCode 程序集版本:1.0.0.0 Win32 版本:4.8.4084.0 built by: NET48REL1 基本代码:file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll

Microsoft.GeneratedCode 程序集版本:1.0.0.0 Win32 版本:4.8.4084.0 built by: NET48REL1 基本代码:file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll

mscorlib.resources 程序集版本:4.0.0.0 Win32 版本:4.8.4084.0 built by: NET48REL1 基本代码:file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/mscorlib.resources/v4.0_4.0.0.0_zh-Hans_b77a5c561934e089/mscorlib.resources.dll

Microsoft.GeneratedCode 程序集版本:1.0.0.0 Win32 版本:4.8.4084.0 built by: NET48REL1 基本代码:file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll

System.resources 程序集版本:4.0.0.0 Win32 版本:4.8.4084.0 built by: NET48REL1 基本代码:file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.resources/v4.0_4.0.0.0_zh-Hans_b77a5c561934e089/System.resources.dll

Bluegrams.Windows.Tools 程序集版本:0.1.0.0 Win32 版本:0.10.0 基本代码:file:///D:/Pro/ScreenRuler/screenruler.exe

************** JIT 调试 ************** 要启用实时(JIT)调试, 该应用程序或计算机的 .config 文件(machine.config)的 system.windows.forms 节中必须设置 jitDebugging 值。 编译应用程序时还必须启用 调试。

例如:

启用 JIT 调试后,任何未经处理的异常 都将被发送到在此计算机上注册的 JIT 调试程序, 而不是由此对话框处理。

adamp4 avatar Apr 12 '22 07:04 adamp4

@adamp4 Thanks for bringing up all these issues, this helps a lot with the development! I tried to fix most of what you mentioned and uploaded a new preview (again same link). Regarding some of your notes:

@alxnull Fixed, one more step to be prefect, pls check attached pic.

While this overlapping does not look great, it is somewhat expected in this case. You can always disable the length labels via Appearance -> Show Offset and Length in the context menu.

The cut-off label box in the picture with the hypotenuse is difficult to fully fix as the app is unable to draw on the screen beyond the length of the vertical ruler scale currently. I tried to improve it a bit, but the box might still be cut off.

@alxnull The ruler scale is not slim after applied 'slim scale', just personal option, the pervious slim mode is much better.

I believe this is expected with the new scaling of the UI.

Please let me know if anything else is not working as expected, thanks!

alxnull avatar Apr 13 '22 21:04 alxnull

@alxnull It's my pleasure helped you developing such good tool. Pls chek issues i figured below. 1..Default colume width of 'keyboard shortcuts' could be extended. 2022-04-14 083139

2.Default setting 'always on top' not working, it works after cancel and select this option again. 3.Esc can't close markers list box, keyboard shorcuts box and help box (it works for menu, set ruler size box, settings, calibrate ruler box, about box) 4.The cpu usage keeps roughly 17%, may it be possible to be reduced when not resizing?

adamp4 avatar Apr 14 '22 01:04 adamp4

@adamp4 Points 1 & 3 should be fixed now.

2.Default setting 'always on top' not working, it works after cancel and select this option again.

Unfortunately, I'm unable to reproduce this issue on my side. Not sure what the cause for this could be.

4.The cpu usage keeps roughly 17%, may it be possible to be reduced when not resizing?

That seems to be quite a lot. Is the CPU usage this high even if you don't actively interact with the ruler?

alxnull avatar Apr 15 '22 10:04 alxnull

@alxnull The CPU usage depends on the size of ruler, in my case the ruler size was 2160px*1274px. 批注 2022-04-16 185335 批注 2022-04-16 185618

adamp4 avatar Apr 16 '22 10:04 adamp4

Most of the fixes of the described issues are now released in v.0.10.0 of ScreenRuler: http://bluegrams.com/blog/2022/09/screen-ruler-0-10-with-improved-scaling-calibration-and-configuration.html

alxnull avatar Sep 10 '22 11:09 alxnull