Autor Beitrag
Narses
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Administrator
Beiträge: 10185
Erhaltene Danke: 1261

W11x64
TP3 .. D7pro .. D10.2CE
BeitragVerfasst: Mi 03.01.07 13:50 
Moin!

Ich muss leider feststellen, dass beim Auto-drag&drop (ausgehend von einem TListView, falls das eine Rolle spielt) Darstellungsfehler auftreten, und zwar um so schlimmer, je schneller die Maschine ist. Effekt: der Cursor wird auf dem drunterliegenden Canvas "aufgestempelt". :? :|

Interessanterweise tritt der Effekt nur bei solchen Komponenten auf, die auf d&d-Anfragen reagieren, also als Ziel dienen können.

Hat da jemand eine Idee, WARUM das so ist und wie man das prinzipiell vermeiden kann (also jetzt ausser nach einem d&d einen Redraw erzwingen, das mache ich jetzt schon...)? :nixweiss:

Danke schonmal für eure Ideen. :flehan: ;)

cu
Narses
Einloggen, um Attachments anzusehen!
_________________
There are 10 types of people - those who understand binary and those who don´t.


Zuletzt bearbeitet von Narses am Di 13.02.07 21:57, insgesamt 1-mal bearbeitet
Narses Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Administrator
Beiträge: 10185
Erhaltene Danke: 1261

W11x64
TP3 .. D7pro .. D10.2CE
BeitragVerfasst: Di 13.02.07 21:56 
Moin!

Ich probier´s nochmal, ob da vielleicht noch jemand eine Idee hat... :(

*** push ***

cu
Narses

_________________
There are 10 types of people - those who understand binary and those who don´t.
jaenicke
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 19346
Erhaltene Danke: 1754

W11 x64 (Chrome, Edge)
Delphi 12 Pro, C# (VS 2022), JS/HTML, Java (NB), PHP, Lazarus
BeitragVerfasst: Di 13.02.07 22:24 
Kannst du vielleicht ein Beispielprojekt (inkl. exe) anhängen? Ich kann das nicht reproduzieren, weder mit Delphi 7 noch mit Delphi 6. :nixweiss:
Entweder ich mach was anders als du oder da stimmt was mit deinem Delphi nicht... (Wobei ich eher auf ersteres tippe ;-))
Narses Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Administrator
Beiträge: 10185
Erhaltene Danke: 1261

W11x64
TP3 .. D7pro .. D10.2CE
BeitragVerfasst: Di 13.02.07 22:57 
Moin!

Danke für dein Test-Angebot. ;)

user profile iconjaenicke hat folgendes geschrieben:
Kannst du vielleicht ein Beispielprojekt (inkl. exe) anhängen? Ich kann das nicht reproduzieren, weder mit Delphi 7 noch mit Delphi 6. :nixweiss:

Bittesehr, hängt dran. Anleitung zur Fehler-Reproduktion: einfach ein oder mehrere Elemente markieren und möglichst schnell vom Klicken ins Ziehen wechseln (z.B. mit der Maus schnell über die Objekte fahren und einfach zwischendurch klicken und festhalten). Je schneller die Maschine, desto weniger "Mühe" muss man sich mit dem d&d-Einleiten geben... :( Auf meinem WXP-Arbeitsplatz am Job kann ich schon im "Opa-Klick-Tempo" (= "ganz normal") die Redrawfehler erzeugen... :cry:

cu
Narses
Einloggen, um Attachments anzusehen!
_________________
There are 10 types of people - those who understand binary and those who don´t.
jaenicke
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 19346
Erhaltene Danke: 1754

W11 x64 (Chrome, Edge)
Delphi 12 Pro, C# (VS 2022), JS/HTML, Java (NB), PHP, Lazarus
BeitragVerfasst: Di 13.02.07 23:17 
:shock: Wasn das? Also ich hab ne Weile gebraucht, bis ich der Fehler aufgetaucht ist. (Je schneller desto Fehler stimmt also nicht, ich hab u.a. nen 3700er Athlon 64 als Testrechner und es dort getestet. ^^)

Ich glaube aber ich weiß woran es liegt, habe allerdings keine Ahnung, wie man das beheben kann. Und zwar: Immer wenn der Fehler auftritt, dann ist der Mauszeiger außerhalb des gezogenen Bildes. Und ich habe einen zweiten Phantom-Cursor näher am Bild dran (der ist etwas blass).
Und nur dort wird neu gezeichnet (bzw. der Fensterinhalt wiederhergestellt), nicht aber an der realen Cursorposition. Dieser schmiert deshalb das Fenster voll.

Hmm, mal sehen, ob ich was finde...
Narses Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Administrator
Beiträge: 10185
Erhaltene Danke: 1261

W11x64
TP3 .. D7pro .. D10.2CE
BeitragVerfasst: Mi 23.05.07 22:56 
Moin!

Ich geb´ die Hoffnung nicht auf... :? vielleicht hat ja jemand was gefunden... :|

*push*

cu
Narses

_________________
There are 10 types of people - those who understand binary and those who don´t.