bardsoftware / ganttproject

Official GanttProject repository.
http://ganttproject.biz
GNU General Public License v3.0
885 stars 308 forks source link

Mouse handling of timeline bars #270

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
I would like to propose a different handling for mouse events in the timeline:

Clicking on a bar:
- clicking and dragging in the middle area of a bar moves the bar, as long as 
the mouse stays in the area of the row of the bar. If it moves out of the row 
(up or down) the link arrow appears and the bar can be linked to other bars 
above/below the current bar. Moving back inside the area of the row continues 
to move the bar, the link arrow disappears again.
- clicking and dragging the end of a bar changes start or end
- ctrl-clicking/dragging a bar changes the percentage

Clicking on the timeline area, not a bar:
- clicking and dragging moves the timeline into the direction dragged, keeping 
the initial direction (i.e. if I drag to the right a bit first and then down 
the panel still only moves right...otherwise moving into only one direction 
will become a little difficult)

Rotating the wheel of a mouse with the pointer inside the timeline
- wheel moves the timeline left/right
- shift-wheel moves the timeline up/down
- ctrl-wheel zooms the timeline

Rotating the wheel of a mouse with the pointer inside the list
- wheel moves the list up/down
- shift-wheel moves the list left/right

I think these methods conform more with typical usage of mouse/keyboard on 
PC/Mac and avoids the unusual middle mouse button use, which is difficult on 
mousepads, wheel mouses and middlebuttonless mouses (like the magic mouse).

Original issue reported on code.google.com by nachbild...@gmail.com on 15 Aug 2011 at 11:27

GoogleCodeExporter commented 9 years ago
Thanks for the proposal, I will take it into account.

Original comment by dbarashev on 15 Aug 2011 at 8:51

GoogleCodeExporter commented 9 years ago
Changing type to "discussion" as there are quite a few things described in this 
issue and not all of them are obvious

Original comment by dbarashev on 9 Oct 2011 at 12:05

GoogleCodeExporter commented 9 years ago
Nice idea - I would be appreciated for these changes too. 
For me is the most important moving whole bar. The idea how to make link only 
with mouse seems really useful.

Original comment by i.hate.this.mail.asdf on 24 May 2012 at 10:30

GoogleCodeExporter commented 9 years ago
@3: you can create links, move task bars (holding Ctrl key) and move the whole 
chart (by dragging the chart area) in the current GP. 

Original comment by dbarashev on 24 May 2012 at 12:18

GoogleCodeExporter commented 9 years ago
@4: thank you very much, move task bars with CTRL key is very helpful. 

Original comment by i.hate.this.mail.asdf on 30 May 2012 at 9:16

GoogleCodeExporter commented 9 years ago
Tried to move task bars but did not worked under OSX 10.8.2. 
I use OSX 10.8.2 on iMac Intel Core i7 2.8GHz with 8GB RAM. I installed 
GanttProject 2.6.1(1499). I just created a test project to practice the UI. I 
have "MS Project" and "ProjectWizard Merlin" experience. 
After creating couple of tasks, hierarchies and dependencies I wanted to move a 
task bar on the Gantt Chart view.
I tried to click on a middle of the bar to move it. When I moved the mouse over 
the bar a hand with pointing trigger/index-finger appeared. When I clicked and 
tried to move the mouse an arrow appeared immediately (I stayed in the row of 
the bar) but the bar did not move. If I Cmd+click on the bar to move it nothing 
happens the bar did not move. If I Ctrl+click on the bar to move it a pulldown 
menu appeared and I can not move it.
If I move the mouse a bit upper on the bar a palm appears and when I click on 
it it grabs the whole Gantt Chart and moves right/left as I move the mouse.
At the start and end of the bar I can extend the length of the bar (increase or 
decrease the days). Also the % function is working at the beginning of the bar.
I just can not move the bar left or right on the timeline. 
My OSX is up to date and I use the latest recommended Java (Version7 Update10 
build 1.7.0_10-b18). 

Everything works like the description of "Reported by nachbild...@gmail.com, 
Aug 15, 2011" except I can not drag and move any task bar with mouse…(?)
I have no idea what the problem is. Is it an OSX 10.8.2 issue? Could you help 
me?

Original comment by pez...@gmail.com on 2 Jan 2013 at 1:15

Attachments:

GoogleCodeExporter commented 9 years ago
I also installed GanttProject 2.6.1(1499) on my Windows 7 (running on WMware 
Fusion on my Mac/OSX 10.8.2). When I Ctrl+click on a task bar a pulldown menu 
appears and I can not mover the bar.(?)
The same experience just like in the Mac version (my previous note se above). I 
have the latest recommended Java ("You have the recommended Java installed 
(Version 7 Update 10)") in Windows 7.
I tried a "3 button PC mouse" and the "Mac Magic Mouse" with the same result. I 
can not move the task bar….??? Could you give me any help or suggestion?

Original comment by pez...@gmail.com on 2 Jan 2013 at 11:23

GoogleCodeExporter commented 9 years ago
Moving tasks with a mouse doesn't work on Mac OSX. Thanks for reporting. I 
submitted a separate issue for that: 
http://code.google.com/p/ganttproject/issues/detail?id=706

Original comment by dbarashev on 2 Jan 2013 at 4:25

GoogleCodeExporter commented 9 years ago
I also have problem moving whole bars.
Can stretch at ends, but cant move wiht middle button (wheel can be pressed 
down). Can move wiht ctrl + left button, but only forward in time.

What can be the problem? Very hard to use program when I cant move bars.
Tryed reinstalling, same.

Have GP 2.6 RC1, windows 7.
My friend has exact same problem.

Original comment by lundqvis...@gmail.com on 23 Oct 2013 at 9:48

GoogleCodeExporter commented 9 years ago
Guys, this issue is NOT about problems with moving tasks in quite outdated 
versions of GP on assorted platforms. The author suggested a few ideas and I 
don't think he is interested in getting reports about problems even if they are 
probably related. Please submit a separate bug report for them. Please install 
the latest GP before that (if RC1 really means "RC1", not "2.6.1"). Please 
attach your file so that we could reproduce the problem. Thanks!

Original comment by dbarashev on 25 Oct 2013 at 9:54

Pegasus-RPG commented 8 years ago

As of 2.8.x, I would like to request at least the mouse wheel behavior in the timeline be changed: Rotating the wheel of a mouse with the pointer inside the timeline