#246 Enhancement for drag-rectangle, Bug ID: 22756

Next_release
closed
Don HO
UI (101)
9
2010-09-25
2010-08-28
Jörn Gruël
No

As I wrote in coments for bug ID: 2275692 I think I have solved this problem as good as possible. The somewhat older technology of using a drag-rectangle maybe should be given up within some future steps by use of alpha-blending. But first I wanted to enhance the behaviour, especially that was needed for the Vista Aero UI style, where read accesses to the whole desktop are too expensive.

I tried to explain all changed lines by some comments, feel free to forshorten these comments if you mean they are to garrulous.

Thank you very much in advance,
best regards,
Jörn.

Discussion

  • Jörn Gruël
    Jörn Gruël
    2010-08-28

    Patch for gripper.cpp/gripper.h

     
    Attachments
  • Don HO
    Don HO
    2010-08-30

    jgr,

    Thank you for your fix.
    The patch is included in SVN revision 658 and the fix will come with 5.7.1 release.

    Let me know if you want to implement alpha-blending for the docking feature. I'll be glad to integrate it.

    Don

     
  • Don HO
    Don HO
    2010-08-30

    • assigned_to: nobody --> donho
    • priority: 5 --> 9
     
  • Don HO
    Don HO
    2010-08-30

    I just notice one thing : the toolbar of docking window dispears after redocking (for example: NppFTP). Is there any fix about that?

    Don

     
  • Jörn Gruël
    Jörn Gruël
    2010-08-30

    It seems for me as this at least has not to do with my changes. I see that effect for NppFTP plugin with the previous release as well. I will have a look for that, but possibly it's caused by the plugin itself (f.e the explorer plugin seems not to have this problem). If I have any solution, of course, I will give a detailed report about that.

    Concerning alpha blending: I would prefer that, thatswhy I will play around and try to implement a solution, may need a while, you here from me when being ready.

    Thanks for your great work bringing the Scintilla up to such a useable and flexible but relatively lightweight program for Windows.

     
  • Don HO
    Don HO
    2010-08-30

    You are right.
    Just tested v5.7 with NppFTP, it's the same behaviour.
    It's rather NppFTP issue than Docking feature issue.

    Don

     
  • So maybe it's no problem to leave this behaviour within the upcoming version as well.

    Nevertheless, I will have a look around it, because maybe there is a combination with docking behaviour: after NppFTP toolbar got lost, it comes back at next change of the toolbars size - so possibly after docking one WM_SIZE message comes not through to it's destination.

     
  • Don HO
    Don HO
    2010-09-25

    • status: open --> closed