i18n/app.fil
author Andrey Skvortsov <andrej.skvortzov@gmail.com>
Fri, 13 Jan 2017 19:51:36 +0300
changeset 1631 940e20a8865b
parent 1625 be3f68731798
child 1697 75b8c54fa4b3
permissions -rw-r--r--
fix issue with printing scheme (FBD, LD or SFC) with comment element on GNU/Linux

If you draw FBD scheme and place comment on it and then try to print
it, then no wires will be printed and comment box is empty (text is
missing). This happens only for wx.PrinterDC and not on wx.MemoryDC
that is used to draw print preview window in Beremiz IDE.
Looks like a bug in wxPython or wxWidgets.

There were found several workaround for this issue.
1) If some dc.DrawLines call is placed before dc.DrawPolygon, then the
problem is gone.

...
dc.DrawLines(polygon)
dc.DrawPolygon(polygon)
...

2) Reseting DC brush solves the problem as well (see this changeset).
../canfestival/canfestival.py
../canfestival/SlaveEditor.py
../canfestival/config_utils.py
../canfestival/NetworkEditor.py
../dialogs/LDElementDialog.py
../dialogs/ForceVariableDialog.py
../dialogs/SearchInProjectDialog.py
../dialogs/SFCStepDialog.py
../dialogs/SFCStepNameDialog.py
../dialogs/FindInPouDialog.py
../dialogs/SFCDivergenceDialog.py
../dialogs/SFCTransitionDialog.py
../dialogs/DurationEditorDialog.py
../dialogs/PouTransitionDialog.py
../dialogs/FBDVariableDialog.py
../dialogs/BlockPreviewDialog.py
../dialogs/AboutDialog.py
../dialogs/ProjectDialog.py
../dialogs/LDPowerRailDialog.py
../dialogs/ArrayTypeDialog.py
../dialogs/PouNameDialog.py
../dialogs/BrowseLocationsDialog.py
../dialogs/FBDBlockDialog.py
../dialogs/ConnectionDialog.py
../dialogs/BrowseValuesLibraryDialog.py
../dialogs/ActionBlockDialog.py
../dialogs/PouActionDialog.py
../dialogs/DiscoveryDialog.py
../dialogs/PouDialog.py
../graphics/RubberBand.py
../graphics/FBD_Objects.py
../graphics/DebugDataConsumer.py
../graphics/ToolTipProducer.py
../graphics/LD_Objects.py
../graphics/SFC_Objects.py
../graphics/GraphicCommons.py
../connectors/PYRO/__init__.py
../connectors/__init__.py
../connectors/WAMP/__init__.py
../targets/Generic/XSD
../targets/XSD_toolchain_makefile
../targets/Xenomai/__init__.py
../targets/Xenomai/XSD
../targets/XSD_toolchain_gcc
../targets/PLC/XSD
../targets/__init__.py
../targets/toolchain_gcc.py
../targets/toolchain_makefile.py
../targets/Linux/XSD
../targets/Win32/XSD
../PLCControler.py
../PLCOpenEditor.py
../py_ext/PythonEditor.py
../py_ext/PythonFileCTNMixin.py
../wxglade_hmi/wxglade_hmi.py
../runtime/NevowServer.py
../runtime/PLCObject.py
../runtime/ServicePublisher.py
../ConfigTreeNode.py
../editors/ConfTreeNodeEditor.py
../editors/ResourceEditor.py
../editors/Viewer.py
../editors/LDViewer.py
../editors/DataTypeEditor.py
../editors/IECCodeViewer.py
../editors/TextViewer.py
../editors/ProjectNodeEditor.py
../editors/EditorPanel.py
../editors/DebugViewer.py
../editors/SFCViewer.py
../editors/FileManagementPanel.py
../editors/CodeFileEditor.py
../ProjectController.py
../controls/LocationCellEditor.py
../controls/SearchResultPanel.py
../controls/PouInstanceVariablesPanel.py
../controls/CustomTable.py
../controls/LibraryPanel.py
../controls/CustomToolTip.py
../controls/LogViewer.py
../controls/FolderTree.py
../controls/ProjectPropertiesPanel.py
../controls/DebugVariablePanel/DebugVariablePanel.py
../controls/DebugVariablePanel/DebugVariableViewer.py
../controls/DebugVariablePanel/DebugVariableTextViewer.py
../controls/DebugVariablePanel/DebugVariableGraphicViewer.py
../controls/DebugVariablePanel/GraphButton.py
../controls/DebugVariablePanel/DebugVariableItem.py
../controls/TextCtrlAutoComplete.py
../controls/DurationCellEditor.py
../controls/CustomStyledTextCtrl.py
../controls/VariablePanel.py
../controls/CustomGrid.py
../controls/CustomTree.py
../controls/CustomEditableListBox.py
../CodeFileTreeNode.py
../docutil/dochtml.py
../c_ext/CFileEditor.py
../xmlclass/xsdschema.py
../xmlclass/xmlclass.py
../Beremiz.py
../version.py
../POULibrary.py
../util/MiniTextControler.py
../util/Zeroconf.py
../util/misc.py
../util/ProcessLogger.py
../features.py
../svgui/svgui.py
../svgui/svgui_server.py
../svgui/svguilib.py
../plcopen/iec_std.csv
../plcopen/structures.py
../plcopen/plcopen.py
../plcopen/definitions.py
../IDEFrame.py
../PLCGenerator.py
../Beremiz_service.py
../plcopen/Additional_Function_Blocks.xml
../plcopen/Standard_Function_Blocks.xml