Feature #879
[Scrollbar] Scrollbar should have context menu
Status: | Rejected | Start date: | 09/26/2014 | |
---|---|---|---|---|
Priority: | Low | Due date: | ||
Assignee: | Zbigniew Rebacz | % Done: | 100% | |
Category: | CtrlLib | Spent time: | - | |
Target version: | Release 2017.2 - NTH |
Description
Task description:
I think that scrollbar default implementation should be able to invoke menu after right mouse button click.
Vertical scrollbar context menu should contains following structure:- Scroll here
- Separator
- Top
- Bottom
- Separator
- Page up
- Page down
- Separator
- Scroll up
- Scroll down
- Scroll here
- Separator
- Left edge
- Right edge
- Separator
- Page left
- Page right
- Separator
- Scroll left
- Scroll right
P.S.
If any of above operation isn't implemented. Just do it.
History
#1 Updated by Zbigniew Rebacz almost 10 years ago
- File ScrollBarContextMenu.diff added
- Status changed from New to In Progress
- Assignee set to Miroslav Fidler
- % Done changed from 0 to 50
Hello,
I have created inital version. It dosen't contain implementation of "Scroll here" feature. Important changes:
- Added "WhenRightClick" callback to Pusher
- Replace callback1(this, method binding) to THISBACK notation in Scrollbar code
- Added context menu to Scrollbar
- Minor code standarization in CtrlLib
Can you review this code?
- This version shouldn't be commited to trunk!!!
#2 Updated by Zbigniew Rebacz almost 10 years ago
- File deleted (
ScrollBarContextMenu.diff)
#3 Updated by Zbigniew Rebacz almost 10 years ago
- File ScrollBarContextMenu.diff added
- Assignee changed from Miroslav Fidler to Zbigniew Rebacz
- % Done changed from 50 to 90
Implemented "Scroll here" operation.
What is missing:
- Translation (Only English version)
- Documentation for "WhenRightClick" callback (See the post above)
I will need to check some things before commit. This is preview version :)
#4 Updated by Zbigniew Rebacz almost 10 years ago
- File deleted (
ScrollBarContextMenu.diff)
#5 Updated by Zbigniew Rebacz almost 10 years ago
- File ScrollBarContextMenu.diff added
Moreover I added variable "menu" to Scrollbar style (Enable by default). The purpose of this variable is to control this feature.
#6 Updated by Zbigniew Rebacz almost 10 years ago
- File deleted (
ScrollBarContextMenu.diff)
#7 Updated by Zbigniew Rebacz almost 10 years ago
- File ScrollBarContextMenu.diff added
- Status changed from In Progress to Patch ready
- Assignee changed from Zbigniew Rebacz to Miroslav Fidler
- % Done changed from 90 to 100
Implemented. Last "Scroll here" implementation works with the midpoint of the scrollbar.
#8 Updated by Zbigniew Rebacz almost 10 years ago
- File ScrollbarContextMenu.png added
#9 Updated by Zbigniew Rebacz almost 10 years ago
- File deleted (
ScrollBarContextMenu.diff)
#10 Updated by Zbigniew Rebacz almost 10 years ago
- File ScrollBarContextMenu.diff added
- Doubles instead of floats
#11 Updated by Zbigniew Rebacz over 8 years ago
- Target version set to Release 2017.1 - NTH
#12 Updated by Zbigniew Rebacz over 7 years ago
- Target version changed from Release 2017.1 - NTH to Release 2017.2 - NTH
#13 Updated by Zbigniew Rebacz over 6 years ago
- Status changed from Patch ready to Rejected
- Assignee changed from Miroslav Fidler to Zbigniew Rebacz