Topic: Punkt von Linie loeschen, ab Version 0.9 nicht mehr vorhanden

Beim bearbeiten einer Line, konnte man früher durch klicken mit der rechten Maustaste im Menue "Diesen Punkt loeschen" auswaehlen.
Leider funktioniert das in den neueren Versionen nicht mehr.
Gibt es hier eine neue Moeglichkeit, die ich noch nicht gefunden habe oder warum ist der Menuepunkt nicht mehr vorhanden?

Post's attachments

punkt löschen.PNG, 171.79 kb, 595 x 374
punkt löschen.PNG 171.79 kb, 71 downloads since 2023-04-26 

Re: Punkt von Linie loeschen, ab Version 0.9 nicht mehr vorhanden

Hallo Mattias:

hum what older version it is?
You talk about conductor line or simple line/polygon as a drawing tool?

"Le jour où tu découvres le Libre, tu sais que tu ne pourras jamais plus revenir en arrière..."

3 (edited by matthias-riedel 2023-05-11 16:02:19)

Re: Punkt von Linie loeschen, ab Version 0.9 nicht mehr vorhanden

It is a polygon line.
The version where it still worked is 0.8
From version 0.9 it is no longer possible to add or delete a point.

Re: Punkt von Linie loeschen, ab Version 0.9 nicht mehr vorhanden

It's only possible on element editor to add or remove point in a polygon line. Not possible on diagram editor.
That not changed is like 0.8 version.

"Le jour où tu découvres le Libre, tu sais que tu ne pourras jamais plus revenir en arrière..."

Re: Punkt von Linie loeschen, ab Version 0.9 nicht mehr vorhanden

In this version it is possible to remove points in the project by right-clicking and insert points by right-clicking on the line.
This is a very nice and useful feature.

QElectroTech V 0.80-DEV+32c135a7ed79751d3
Kompiliert: GCC 8.3.0 - built with Qt 5.12.5 - Date : Jan 9 2020 : 15:34:54 - run with Qt 5.12.5 using 6 thread(s)
OS : winnt - x86_64 - Version : Windows 10 (10.0) - Kernel : 10.0.17763

Post's attachments

1.PNG, 354.72 kb, 1325 x 904
1.PNG 354.72 kb, 58 downloads since 2023-05-11 

Re: Punkt von Linie loeschen, ab Version 0.9 nicht mehr vorhanden

Here in English

Post's attachments

2.PNG, 343.13 kb, 1327 x 855
2.PNG 343.13 kb, 54 downloads since 2023-05-11 

Re: Punkt von Linie loeschen, ab Version 0.9 nicht mehr vorhanden

I saw it 's work on Date : Jan 9 2020
Git history:
https://github.com/qelectrotech/qelectr … peitem.cpp
https://git.tuxfamily.org/qet/qet.git/l … peitem.cpp

"Le jour où tu découvres le Libre, tu sais que tu ne pourras jamais plus revenir en arrière..."

Re: Punkt von Linie loeschen, ab Version 0.9 nicht mehr vorhanden

git checkout fd2c210f49eb88570eeed9b0bfbbee901ecabc11 2020-02-02 15:33:19 (GMT)
Add QetGraphicsTableItem + entry "add nomenclature" in project menu
https://git.tuxfamily.org/qet/qet.git/c … 901ecabc11
ok


git checkout 610a44c7cd6446f9a1127b59b0ea3dc4a97881fc  2020-09-04 21:00:32 (GMT)
Removed some Q_UNUSED
https://git.tuxfamily.org/qet/qet.git/c … c4a97881fc
ok

git checkout 2d6bef71ae227865c55e7d6564130391014b7c9d   2020-09-22 09:41:47 (GMT)
DXF - Add some color
https://git.tuxfamily.org/qet/qet.git/c … 91014b7c9d
ok



--------------

2020-09-24    Add TODO compile var + Fix doxygen issue    Simon De Backer
2020-09-24    Try to fix Snap package with sqite3 new depend    Laurent Trinques
2020-09-23    Fix QRegularExpression pattern    Simon De Backer
2020-09-23    Fix QRegularExpression    Simon De Backer
2020-09-23    Fix QRegularExpression    Simon De Backer
2020-09-23    Fix QRegularExpression    Simon De Backer
2020-09-23    Fix Revert deprecated QRegExp    Simon De Backer
2020-09-23    Merge branch 'master' of ssh://git.tuxfamily.org/gitroot/qet/qet    artgg7300
2020-09-23    updated hungarian files    artgg7300
2020-09-23    Fix commit "Change the way how the database is exported to file" :    Laurent Trinques
2020-09-22    Merge branch 'dxf'    David Varley
2020-09-22    Revert "Fix deprecated QRegExp"    Simon De Backer
2020-09-22    DXF - remove a couple of debug messages    David Varley
2020-09-22    DXF - Add some color

git checkout 36dbe654577bae797ab8e5375a580327d13444bc  2020-09-24 15:01:33 (GMT)
Add TODO compile var + Fix doxygen issue
https://git.tuxfamily.org/qet/qet.git/c … 27d13444bc
can't build

git checkout 184560cc5dccfb7638daca85e2740caacabb9389  2020-10-03 07:39:29 (GMT)
QT6: diagramitemweight set val to Font::Weight
https://git.tuxfamily.org/qet/qet.git/c … aacabb9389
ok


git checkout 12e301b887b64817ed81a20ca43fecf28c7bd9af 2020-10-17 18:25:30 (GMT)
replace 4 spaces by a tab
https://git.tuxfamily.org/qet/qet.git/c … f28c7bd9af
can't build


git checkout ec0b92ec1d9d93bc1986f2c48f11eb7f1a2ffffe  2020-10-18 08:45:05 (GMT)
La position précédente de HEAD était sur 184560cc5 QT6: diagramitemweight set val to Font::Weight
HEAD est maintenant sur ec0b92ec1 Fix : Filling color is not apply to polyline.
https://git.tuxfamily.org/qet/qet.git/c … 7f1a2ffffe
ok

git checkout b1eb59f3ea87a95825362525f35ec455affbff6b 2020-10-22 19:07:41 (GMT)
La position précédente de HEAD était sur ec0b92ec1 Fix : Filling color is not apply to polyline.
HEAD est maintenant sur b1eb59f3e Improve previous comit
https://git.tuxfamily.org/qet/qet.git/c … 55affbff6b
ok

git checkout d02b88488afe0b6547b31311d421267e58afe7b9 2020-11-22 10:07:47 (GMT)
La position précédente de HEAD était sur b1eb59f3e Improve previous comit
HEAD est maintenant sur d02b88488 German translation updated
https://git.tuxfamily.org/qet/qet.git/c … 7e58afe7b9
ok


git checkout d15443cf930fb068f8bb0bb81d5cfaca4b8ae37a 2020-12-10 17:44:03 (GMT)
Wip Fix preprocessor on Cmake
https://git.tuxfamily.org/qet/qet.git/c … ca4b8ae37a
can't build

git checkout c88d1ef6bb027e209acb43d9c63a75de8eb509ac 2020-12-12 23:40:43 (GMT)
La position précédente de HEAD était sur d02b88488 German translation updated
HEAD est maintenant sur c88d1ef6b Refactoring Cmake
https://git.tuxfamily.org/qet/qet.git/c … de8eb509ac
ok

git checkout f6d777e2f76b0136670923f5b79b3bd22f30ca6e 2020-12-17 20:42:18 (GMT)
La position précédente de HEAD était sur 34baceb8d Fix bug 175
HEAD est maintenant sur f6d777e2f Mod DynamicTextFieldEditor
can't build

it checkout 2e543dd1f70cba6666a6d1eaa4b83252996e9a9a 2020-12-18 16:05:41 (GMT)
La position précédente de HEAD était sur f6d777e2f Mod DynamicTextFieldEditor
HEAD est maintenant sur 2e543dd1f Add create translation .ts file on Cmake
ok

git checkout 5730559ed09834ee5a63192bb9ad701d52acc298     2020-12-31 13:19:52 (GMT)
La position précédente de HEAD était sur 4f455a532 General configuration page : set 'appearance' as default tab
HEAD est maintenant sur 5730559ed Updated Czech elements translations.
ok


git checkout bf9123f9b534d8af722ecb98e020ef707e4d7a68 2021-01-01 14:28:41 (GMT)
La position précédente de HEAD était sur 5730559ed Updated Czech elements translations.
HEAD est maintenant sur bf9123f9b Fix xml in Element (Catch from QElectroTech_Element_Updater)
ok



git checkout 0a8376c189b4deff24d26dd26ddb3ceb1c9c8a4c  2021-01-02 19:11:47 (GMT)
La position précédente de HEAD était sur 6fcb0fec0 Updated Czech translations of elements.
HEAD est maintenant sur 0a8376c18 Fix bug 220
polygon add point disappears ..............????

git checkout 34baceb8da926d5fd88a45e2311e89ea7bc9cd7f  2021-01-03 22:30:48 (GMT)
La position précédente de HEAD était sur 0a8376c18 Fix bug 220
HEAD est maintenant sur 34baceb8d Fix bug 175
polygon add point disappears ..............????


git checkout 4f455a5328bf6e6d30e86379d16d83e9192dafdf 2021-01-08 17:26:55 (GMT)
La position précédente de HEAD était sur 2e543dd1f Add create translation .ts file on Cmake
HEAD est maintenant sur 4f455a532 General configuration page : set 'appearance' as default tab
polygon add point disappears ..............????

git checkout 6fcb0fec083da868b62d20f3c166cbd1248a34ef     2021-01-13 20:25:24 (GMT)
La position précédente de HEAD était sur c88d1ef6b Refactoring Cmake
HEAD est maintenant sur 6fcb0fec0 Updated Czech translations of elements.
https://git.tuxfamily.org/qet/qet.git/c … d1248a34ef
polygon add point disappears ..............????



git checkout d04bccc384aa8b9dc16e4432ac72ccb787b2508b 2021-02-06 17:33:42 (GMT)
Update Copyright date
https://git.tuxfamily.org/qet/qet.git/c … b787b2508b
polygon add point disappears ..............????



It was not easy to find after all this time where the problem came from after all these thousands of commits..

"Le jour où tu découvres le Libre, tu sais que tu ne pourras jamais plus revenir en arrière..."

Re: Punkt von Linie loeschen, ab Version 0.9 nicht mehr vorhanden

https://qelectrotech.org/bugtracker/view.php?id=220 :
bugfix is surely the culprit of the disappearance of the function add and deletion of point on a polygon...

Edit fixed for polygon by revert commit 0a8376c189b4deff24d26dd26ddb3ceb1c9c8a4c

--- sources/diagramview.cpp
+++ sources/diagramview.cpp
@@ -1219,6 +1219,11 @@ QList<QAction *> DiagramView::contextMenuActions() const
 */
 void DiagramView::contextMenuEvent(QContextMenuEvent *e)
 {
+    QGraphicsView::contextMenuEvent(e);
+    if(e->isAccepted())
+    return;
+
+
     if (auto qgi = m_diagram->itemAt(mapToScene(e->pos()), transform()))
     {
         if (!qgi->isSelected()) {

But we need to try if it not re open bug 220?

"Le jour où tu découvres le Libre, tu sais que tu ne pourras jamais plus revenir en arrière..."

Re: Punkt von Linie loeschen, ab Version 0.9 nicht mehr vorhanden

https://git.tuxfamily.org/qet/qet.git/c … a1387bfe77

"Le jour où tu découvres le Libre, tu sais que tu ne pourras jamais plus revenir en arrière..."

Re: Punkt von Linie loeschen, ab Version 0.9 nicht mehr vorhanden

Danke, es funktioniert wieder.
Vielen Dank für die schnelle Arbeit.

Re: Punkt von Linie loeschen, ab Version 0.9 nicht mehr vorhanden

nice you're happy, great, enjoy nomicons/wink

"Le jour où tu découvres le Libre, tu sais que tu ne pourras jamais plus revenir en arrière..."