View Issue Details

IDProjectCategoryView StatusLast Update
0001704Double CommanderGraphical user interfacepublic2020-11-30 07:43
Reporterzzarko Assigned ToAlexx2000  
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionfixed 
ProjectionnoneETAnone 
OSUbuntuOS Version14.04 64bit 
Product Version0.7.7Product Build7285 
Target Version0.7.8Fixed in Version0.7.8 
Summary0001704: Pressing the menu key moves mouse to "Actions" submenu item
DescriptionWhen I press the menu key on the keyboard, left-click menu shows up as it should, but this also moves mouse pointer to "Actions" submenu item and opens it. This behaviour started a couple of versions ago, not sure when exactly. I don't know why an action from keyboard moves the mouse pointer in the first place.

Why is this a problem? When the mouse pointer is on "Actions" submenu item, this opens "Actions" submenu and using arrow keys selects items from that submenu, instead of main left-click menu. This effectively hurts usage from keyboard only, as I need to move the mouse away from the menu to actually use it.
Steps To ReproducePress menu key on the keyboard. Mouse pointer jumps to "Actions" submenu item.
TagsNo tags attached.
Fixed in Revision7359,7364
Operating systemLinux
WidgetsetQT4
Architecture64-bit

Relationships

duplicate of 0001382 closedAlexx2000 При открытии контекстного меню с клавиатуры мышка перемещается на второй пункт меню 

Activities

cordylus

2017-01-28 01:36

developer   ~0002058

Last edited: 2017-01-28 01:42

Already reported this as 0001382 (in Russian). It has nothing to do with "Actions", it is moved to the second item. Actually, not to the second item, but to the place where second item would be if the context menu would open to bottom-right.

Interesting, it seems to be cross-platform. I thought this is a Windows-specific bug.

cordylus

2017-01-28 06:04

developer   ~0002060

Found the source of the problem:

src\fileviews\ufileviewwithmainctrl.pas
Line 243
  SetCursorPos(Point.X+100, Point.Y+25);

Blame Revision 6036, 31.05.2015 20:36:59
UPD: Many improvements (patch by Denis Bisson)

I have no idea why this line was added. Maybe some kind of debugging that was not removed? But then why +100, +25? From my point of view, it can be safely deleted. Should we consult Denis?

Alexx2000

2017-01-29 14:42

administrator   ~0002061

I comment this line.

Issue History

Date Modified Username Field Change
2017-01-22 00:59 zzarko New Issue
2017-01-28 01:36 cordylus Note Added: 0002058
2017-01-28 01:42 cordylus Note Edited: 0002058
2017-01-28 06:04 cordylus Note Added: 0002060
2017-01-28 11:20 Alexx2000 Relationship added duplicate of 0001382
2017-01-29 14:42 Alexx2000 Fixed in Revision => 7359
2017-01-29 14:42 Alexx2000 Note Added: 0002061
2017-01-29 14:42 Alexx2000 Status new => resolved
2017-01-29 14:42 Alexx2000 Resolution open => fixed
2017-01-29 14:42 Alexx2000 Assigned To => Alexx2000
2017-01-29 14:42 Alexx2000 Target Version => 0.7.8
2017-02-04 17:20 Alexx2000 Fixed in Revision 7359 => 7359,7364
2017-02-04 17:20 Alexx2000 Fixed in Version => 0.7.8
2020-11-30 07:43 Alexx2000 Status resolved => closed