Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed issues regarding the Drag and Drop of the entry at the start and end of it #37

Merged
merged 10 commits into from
Sep 12, 2018

Conversation

arias9306
Copy link
Contributor

@arias9306 arias9306 commented Sep 11, 2018

Pull request required to fix the following issues and also code refactoring:

  • Irregular behavior when the Start of the entry is dragged after the end and then go back as before start date. video
  • Fix behavior when the cursor is out of the dayView, now only affects the Time on the date that the entry is currently positioned.
  • Fix for Multi-selection in day Page. (697a8de)

arias9306 and others added 10 commits August 15, 2018 13:46
…d end of it:

 - Wierd behavior when the Start of the entry is dragged after the end and then go back as before start date.
 - Fix behavior when the cursor is out of the dayView, now only affects the Time on the date that the entry is currently positioned.
Handler for mouse clicking and PerformSelection method were moved to EntryViewBase class. After debuggin this handler, it seems to be called multiple times while clicking anywhere inside the view and of course it happens due to each control that shapes the entire view has this handler, causing that clicked entry get added and removed from the Selection list over and over again.

This situation was preventing that Multi-selection works correctly in the day page, but having that logic in the EntryViewBase class, it give us the expected performance.
Logic inside performSelection method was reverted a little bit in order to support the normal click (not multi-select) over entries that are actually selected instead of deselect the other ones.
@dlemmermann
Copy link
Collaborator

Can you do me a favor and create issues / tickets for the bugs you fixed? Ideally one starts with a ticket first and then the same person or somebody else provides a pull request with a fix. The video you included was a great help, but the other issues you mention I have no idea what you mean there.

@dlemmermann dlemmermann merged commit 07c862d into dlsc-software-consulting-gmbh:master Sep 12, 2018
arias9306 added a commit to arias9306/CalendarFX-TeamA1 that referenced this pull request Sep 12, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants