News:

As usual while waiting for the next release - don't forget to check the nightly builds in the forum.

Main Menu

Right click acts like Ctrl+Left click in Manager-Projects tree

Started by Quiss, October 10, 2018, 02:14:21 PM

Previous topic - Next topic

Quiss

Hi,

Every time you right click a folder or a file in projects tree, you see right click menu but also clicked item selected (like ctrl+left click, multiple selection). Can you reproduce it? Should I open a ticket?

Windows10-64, svn11499.

oBFusCATed

Can you describe the exact steps needed to reproduce this?
Does it happens with17.12 or the latest non wx3.1 night build?
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

Quiss

Open any project, just right click files and/or folders. After that it look like this:
https://imgur.com/a/h1qWZNh

11449 nightly: Ok
11472 wx31_64, gcc7.2.0: NOT ok
11499 nightly: NOT ok
11499 wx31_64, gcc7.2.0: NOT ok

I've been looking around and I think the problem is right click DragScroll fix svn11455. If i disable DragScroll plugin or use middle button instead of right button of mouse, it's ok.
Edit: svn11455 fix was for this: http://forums.next.codeblocks.org/index.php/topic,22807.msg155023.html#msg155023

oBFusCATed

(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

oBFusCATed

(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

Quiss

Quote from: oBFusCATed on October 11, 2018, 09:39:55 AM
Does it go away if you locally revert this commit?
Yes. But then highlight disappear problem comes back.

I reverted that commit and apply the patch in this message http://forums.next.codeblocks.org/index.php/topic,22807.msg155000.html#msg155000. This fixes highlight issue and does not have right click side effect.

oBFusCATed

So, you are using right mouse button for dragscroll, aren't you?
What happens if you switch to middle mouse button?
Does this problem disappear?
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

Quiss

Yes, I'm using right mouse button; I think I'm the only one using it :).

There is no problem with middle mouse button.

oBFusCATed

(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

Pecan


oBFusCATed

(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

BlueHazzard

hmmm.. can you explain the steps in more detail? I am not sure how to reproduce. I see some bug, but i don't think it is the same as you describe, because it does not go away after disabling the plugin...
I see the following:
1) Right down click on one item in the tree (not realease the button)
2) Drag the mouse to a other item
3) Release the right button
4) Menu gets shown and two items are higlighted
5) Drag the right mouse again, you can select multiple items
I am not sure if this is even a bug...

Quiss

Just right click and release the button. Here is a gif: https://i.imgur.com/gXjc2qa.gifv The last click is left one.

Your patch fixes it, I've been using it, seems ok.

BlueHazzard

QuoteJust right click and release the button. Here is a gif: https://i.imgur.com/gXjc2qa.gifv The last click is left one.
one gif says more then 1000 words.
Thank you i can reproduce it now.

To future clear things:
1) You have reverted commit 11455 (https://github.com/obfuscated/codeblocks_sf/commit/40e313df4f7ffd7d4bcdb9bdc538e1377c1e2717)
2) You have applied the patch from this post http://forums.next.codeblocks.org/index.php/topic,22807.msg155000.html#msg155000

Now:
1) you do not see the behavior of the right click posted in the current topic
2) The highlighting does not disappears if you scroll
3) The scroll plugin is activated