View Issue Details

IDProjectCategoryView StatusLast Update
0006132DarkRadiantGUIpublic13.01.2024 13:59
ReporterBikerdude Assigned Togreebo  
PrioritynormalSeveritynormalReproducibilityhave not tried
Status closedResolutionno change required 
PlatformPCOSWindowsOS Version10 (21H2)
Product Version3.4.0 
Fixed in Version3.8.0 
Summary0006132: Deselecting layers: click area too small
DescriptionSo I diagnosed an issue I thought was me, or my mouse. In a nutshell the click area foir each layer tick bos need the cursur be "exactly" in the middle of the little white box. It needs to be anywhere in the white box or better anywhere in the whole row please Greebo :-)
TagsNo tags attached.
Attached Files
layers_to_picky.jpg (121,350 bytes)   
layers_to_picky.jpg (121,350 bytes)   

Relationships

related to 0006128 closedgreebo New layers function: popup getting in the way 
related to 0006137 closedgreebo Layer visibility checkbox not reacting to double-clicks 

Activities

greebo

greebo

21.10.2022 05:03

administrator   ~0015346

The checkbox is for toggling the visibility of the layer, this is working like it had been before with the old dialog - you had to click the checkbox to show/hide the layer. Just selecting the row should not show/hide the layer, are you sure you want that?

If you're referring the the checkbox itself that is not reacting when you have the tip of the mouse cursor at the pixel border of the checkbox - that's a Windows problem, it's the same in Windows 11 where the checkbox is rounded. I can't do anything about this, I think.
Bikerdude

Bikerdude

21.10.2022 10:34

reporter   ~0015347

I am fairly sure (and can go back and test if required) that in previous versions of DR you coulc click 'anywhere' inside the checkbox to toggle it. In 3.4 you have to click right in the center 2/3s of the tickbox.

- https://youtu.be/YJTGJaVZQFA
greebo

greebo

21.10.2022 14:17

administrator   ~0015349

In previous DR versions there was no checkbox, it was just a button with an image painted on it. In 3.4 the tree view is using an actual checkbox as provided by Windows.

I'm aware of the click not being registered in some areas of the checkbox, but I don't know the reason. It seems it's reacting to left-clicks even when the mouse is aiming 2-3 pixels to the left of the checkbox, but at the right side there's a dead area of some pixels that doesn't receive the clicks.
greebo

greebo

26.10.2022 17:32

administrator   ~0015355

This must be a wxWidgets bug, it's consistently shifting the sensitive area of the checkbox 3 pixels to the left. I think it's not taking the cell margin into account (which happens to be 3 pixels if I recall correctly). I can't do anything about, I'm afraid, I tried a few workarounds.

Other than not using the native checkboxes, I don't see any way I can fix this in DR itself.
Bikerdude

Bikerdude

26.10.2022 19:40

reporter   ~0015362

Last edited: 09.11.2022 12:31

make the whole row selectable, so it then dosent matter where you click..?

the balloon tips getting in the way and covering tick boxes wasn't helping matters, but I see you tweaked that a bit for the time being.
greebo

greebo

27.10.2022 06:42

administrator   ~0015366

Linking clicks on the entire row to the visibility status is technically possible, but this will interfere as soon as a context menu is added to the Layers tree (which will happen rather sooner than later). When you right-click the item it will be selected, and that will cause the layer to switch its visibility, very likely that won't be intended.
Bikerdude

Bikerdude

09.11.2022 12:32

reporter   ~0015406

"Other than not using the native checkboxes, I don't see any way I can fix this in DR itself. " what would this look like, or is it hard to do..?
greebo

greebo

10.11.2022 18:25

administrator   ~0015411

Maybe not hard, but it's very cumbersome and annoying to re-implement the same checkbox that is already provided by the system software. Are you really aiming your mouse at the rightmost three pixels of that checkbox so frequently?
Bikerdude

Bikerdude

10.11.2022 19:17

reporter   ~0015412

So Dragofer made me aware of the artifact builds you create and list on GitHub, so I am currently using build 0004764.

So now that the popup isnt getting in the way 'my cursor aim' is better, but now this highlights another minor issue. in that there is a delay between clicking on the box and it becoming unticked, can that delay be reduced at all..?
greebo

greebo

10.11.2022 19:44

administrator   ~0015413

The delay is probably depending on the size of the map, but I can only guess. If there's a lot of items to hide it will take a bit until that operation is complete. Might that explain the behaviour?
Bikerdude

Bikerdude

10.11.2022 22:40

reporter   ~0015415

So rebooted windows, created a blank map and added abunch of layers, and my wip is ever so slightly slower.

And as a result of doing the above, the issue with the whole box not being tickable is pretty much the same. If I am not dead center I am having to spend time trying to click the box again. sorry fella.
Bikerdude

Bikerdude

13.01.2024 11:22

reporter   ~0016362

In DR 3.8 the mouse cursor no longer needs to be dead center, clicking anywhere inside the tickbox now works. Tracker can be closed.

Issue History

Date Modified Username Field Change
15.10.2022 14:48 Bikerdude New Issue
15.10.2022 14:48 Bikerdude File Added: layers_to_picky.jpg
15.10.2022 14:48 Bikerdude Relationship added related to 0006128
21.10.2022 05:03 greebo Note Added: 0015346
21.10.2022 05:06 greebo Relationship added related to 0006137
21.10.2022 10:34 Bikerdude Note Added: 0015347
21.10.2022 14:17 greebo Note Added: 0015349
26.10.2022 17:32 greebo Note Added: 0015355
26.10.2022 17:32 greebo Status new => acknowledged
26.10.2022 19:40 Bikerdude Note Added: 0015362
26.10.2022 19:42 Bikerdude Note Edited: 0015362
27.10.2022 06:42 greebo Note Added: 0015366
09.11.2022 12:31 Bikerdude Note Edited: 0015362
09.11.2022 12:32 Bikerdude Note Added: 0015406
10.11.2022 18:25 greebo Note Added: 0015411
10.11.2022 19:17 Bikerdude Note Added: 0015412
10.11.2022 19:44 greebo Note Added: 0015413
10.11.2022 22:40 Bikerdude Note Added: 0015415
13.01.2024 11:22 Bikerdude Note Added: 0016362
13.01.2024 13:59 greebo Assigned To => greebo
13.01.2024 13:59 greebo Status acknowledged => closed
13.01.2024 13:59 greebo Resolution open => no change required
13.01.2024 13:59 greebo Fixed in Version => 3.8.0