Bug 251432

Summary: Measure angle on screen
Product: [Applications] kruler Reporter: ojt
Component: generalAssignee: Mathias Soeken <soeken>
Status: REPORTED ---    
Severity: wishlist CC: denilsonsa, kde, olivier.delaune, shenlebantongying
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description ojt 2010-09-16 12:25:04 UTC
Version:           unspecified (using KDE 4.5.1) 
OS:                Linux

Add feature to measure angles on screen. Can be angle from horizontal or vertical lines, but also arbitary angles between 3 ponts/2 lines.

Reproducible: Didn't try
Comment 1 Christoph Feck 2018-10-02 02:19:09 UTC
*** Bug 341068 has been marked as a duplicate of this bug. ***
Comment 2 Christoph Feck 2018-10-02 02:19:58 UTC
Not sure how that would work UI-wise. Windows cannot be rotated arbitrarily.
Comment 3 Richard Neill 2018-10-03 22:30:58 UTC
A thought how you could make a "protractor".

1. Have a protractor icon on the ruler that engages/disengages protractor mode.

2. display 3 dots/crosshairs on the screen, that can be placed there by mouse-clicks (and maybe moved by dragging)

3. ideally, show the lines between  A-B  and B-C  to make angle ABC really obvious.

This might be best done by placing a single transparent window over the entire screen?

Just a thought.
Comment 4 shenlebantongying 2023-02-10 06:54:58 UTC
I find it is pretty simple to implement one and I did:

https://github.com/shenlebantongying/qAngle

It is simple and should cover most of the use caes.

However, KRuler is a "Ruler". I think measuring the angle is out of the scope of this program.