Coder Social home page Coder Social logo

Comments (6)

kulesa avatar kulesa commented on July 26, 2024

Hi Chris,

that's interesting, because on my environment I see quite the opposite behaviour: when I drag an issue it displays everything correctly. When I use a date picker, then the chart displays correctly only on max zoom level. On other zoom levels after refresh issues displayed more to the right than they should be. It could be we are using different versions of #2024. I use this one (the latest available): http://www.redmine.org/attachments/5513/gantt_edit_2_v1-1-1.patch

I quickly checked sources of #2024 and found that function observe_date_field passes zoom*4 and function issue_moved just plain zoom, which causes different display after update by drag-n-drop and update via a date picker. Apparently this should be easy to fix for the author of patch.

I also checked once again that my plugin doesn't change this functionality of #2024 and that even without my plugin #2024 works the same way. So I really think this issue should be addressed to the author of patch.

from redmine_better_gantt_chart.

 avatar commented on July 26, 2024

I'm now using a newer version of the #2024 patch (v5 - see attached),
which corrects a few other bugs.

When I remove the better gantt chart plugin and just use the patch, both
changing the date picker and dragging the bar seems to work fine and the
display refreshes correctly.

However, when I re-add the better gantt chart plugin and restart the
application then it doesn't display correctly after dragging the gantt bar.

I really need to get them both working if possible as your plugin seems
to handle the related issues much better, but the patch obviously allows
editing of the gantt chart on the fly. As I mentioned previously, I
would love to see these 2 combined into one plugin.

Please let me know if you have any further questions.

Chris

On 05/04/11 13:38, kulesa wrote:

Hi Chris,

that's interesting, because on my environment I see quite the opposite behaviour: when I drag an issue it displays everything correctly. When I use a date picker, then the chart displays correctly only on max zoom level. On other zoom levels after refresh issues displayed more to the right than they should be. It could be we are using different versions of #2024. I use this one (the latest available): http://www.redmine.org/attachments/5513/gantt_edit_2_v1-1-1.patch

I quickly checked sources of #2024 and found that function observe_date_field passes zoom*4 and function issue_moved just plain zoom, which causes different display after update by drag-n-drop and update via a date picker. Apparently this should be easy to fix for the author of patch.

I also checked once again that my plugin doesn't change this functionality of #2024 and that even without my plugin #2024 works the same way. So I really think this issue should be addressed to the author of patch.

from redmine_better_gantt_chart.

kulesa avatar kulesa commented on July 26, 2024

Can you send the new version of the patch to my email [email protected] ? It doesn't allow attach files to GitHub issues.

from redmine_better_gantt_chart.

 avatar commented on July 26, 2024

I've just sent it now.

On 05/04/11 15:24, kulesa wrote:

Can you send the new version of the patch to my email [email protected] ? It doesn't allow attach files to GitHub issues.

from redmine_better_gantt_chart.

kulesa avatar kulesa commented on July 26, 2024

Fixed in patch2024 branch for gantt_edit_5_v1-1-1.patch.

from redmine_better_gantt_chart.

 avatar commented on July 26, 2024

I've just tested the new version and can confirm it works fine with v5
of the #2024 patch.

On 06/04/11 08:04, kulesa wrote:

Fixed in patch2024 branch for gantt_edit_5_v1-1-1.patch.

from redmine_better_gantt_chart.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.