Feed Advanced Search

May 6 2018

laysrodrigues added inline comments to D12687: Fix the crash when more then one document is open in gcodeeditor.
May 6 2018, 7:55 PM · Atelier: General Development
laysrodrigues accepted D12723: Warn User if trying to close while printing.
May 6 2018, 7:50 PM · Atelier: General Development
rizzitello updated the diff for D12719: Atelier enable drag and drop.
  • Enable Drag and drop for gcode and gco files
May 6 2018, 7:36 PM · Atelier: General Development
rizzitello updated the diff for D12719: Atelier enable drag and drop.
  • Enable Drag and drop for gcode and gco files
May 6 2018, 7:36 PM · Atelier: General Development
laysrodrigues added a comment to D12690: GCodeWidget Improvements.

Looks sane and works. Approve now or you will add the push_to_front thing?

May 6 2018, 7:35 PM · Atelier: General Development
rizzitello added a comment to D12723: Warn User if trying to close while printing.

I have the impression if the user has more than one instance printing, you will show a notification for each one. I think that if at least one is true, one dialog will be enough.
You break the switch, not the for...
I was trying to test here, but Atelier isn't finding fake printer ports...

May 6 2018, 7:15 PM · Atelier: General Development
rizzitello updated the diff for D12723: Warn User if trying to close while printing.
  • Only warn once if multi instances are printing; Also warn if user tries to close a printing

instance

May 6 2018, 7:14 PM · Atelier: General Development
rizzitello updated the diff for D12690: GCodeWidget Improvements.
  • Add file close. Works well under most cases
May 6 2018, 6:46 PM · Atelier: General Development
laysrodrigues added a comment to D12723: Warn User if trying to close while printing.

I have the impression if the user has more than one instance printing, you will show a notification for each one. I think that if at least one is true, one dialog will be enough.
You break the switch, not the for...
I was trying to test here, but Atelier isn't finding fake printer ports...

May 6 2018, 6:31 PM · Atelier: General Development
laysrodrigues requested changes to D12690: GCodeWidget Improvements.
May 6 2018, 6:08 PM · Atelier: General Development
rizzitello updated the diff for D12723: Warn User if trying to close while printing.
  • remove unneeded line
May 6 2018, 4:09 PM · Atelier: General Development
rizzitello added a project to D12723: Warn User if trying to close while printing: Atelier: General Development.
May 6 2018, 3:50 PM · Atelier: General Development
rizzitello added a project to D12719: Atelier enable drag and drop: Atelier: General Development.
May 6 2018, 1:50 PM · Atelier: General Development

May 5 2018

rizzitello updated the test plan for D12690: GCodeWidget Improvements.
May 5 2018, 10:20 PM · Atelier: General Development
rizzitello updated the diff for D12690: GCodeWidget Improvements.
  • Reload openfiles instead of opening a new copy
  • Add file close. Works well under most cases
May 5 2018, 10:18 PM · Atelier: General Development
rizzitello updated the diff for D12690: GCodeWidget Improvements.
  • GCodeEditor::fileClosed emited when a file is closed in the view. This is then removed from the
  • Close the files delete the document
  • Merge branch 'loadone' into LOADCLOSE
May 5 2018, 7:59 PM · Atelier: General Development
rizzitello abandoned D12691: Close Files in the KTextEditor.

This needs the D12690 to much so im going to add it to that diff

May 5 2018, 7:58 PM · Atelier: General Development
rizzitello updated the diff for D12690: GCodeWidget Improvements.
  • C++11 for
  • Mapping to better track open files.
  • Remove creation of "New File". (this will confuse user can't save until you open a file in our set

up and cant print unless written to disk. We can redo this later in a better way when those are
solved)

May 5 2018, 7:55 PM · Atelier: General Development
rizzitello updated the diff for D12691: Close Files in the KTextEditor.
  • && view
May 5 2018, 5:51 PM · Atelier: General Development
patrickelectric requested changes to D12691: Close Files in the KTextEditor.
May 5 2018, 12:30 PM · Atelier: General Development
rizzitello updated the diff for D12691: Close Files in the KTextEditor.
  • Debug info for testing . Disable creation of new file on no files
May 5 2018, 12:28 PM · Atelier: General Development
rizzitello planned changes to D12691: Close Files in the KTextEditor.
May 5 2018, 12:24 PM · Atelier: General Development
patrickelectric requested changes to D12690: GCodeWidget Improvements.
May 5 2018, 12:21 PM · Atelier: General Development
rizzitello updated the test plan for D12691: Close Files in the KTextEditor.
May 5 2018, 11:55 AM · Atelier: General Development
rizzitello updated the diff for D12691: Close Files in the KTextEditor.
  • close usl
May 5 2018, 11:45 AM · Atelier: General Development

May 4 2018

rizzitello updated the diff for D12690: GCodeWidget Improvements.
  • Reloaded file tab set as current
May 4 2018, 9:46 PM · Atelier: General Development
rizzitello updated the test plan for D12690: GCodeWidget Improvements.
May 4 2018, 11:49 AM · Atelier: General Development
rizzitello added inline comments to D12690: GCodeWidget Improvements.
May 4 2018, 11:48 AM · Atelier: General Development
rizzitello updated the diff for D12691: Close Files in the KTextEditor.
  • File Ref
May 4 2018, 10:38 AM · Atelier: General Development
rizzitello added a comment to D12691: Close Files in the KTextEditor.

Hmm, of example in the

connect(gcodeEditor, &GCodeEditorWidget::updateClientFactory, this, [this](KTextEditor::View* view){
        guiFactory()->removeClient(m_currEditorView);
        guiFactory()->addClient(view);
        m_currEditorView = view;
    });

part: could m_currEditorView be there null at the start or later? must one guard that?

May 4 2018, 10:36 AM · Atelier: General Development
cullmann added a comment to D12691: Close Files in the KTextEditor.

Beside that, I am not sure how you handle view deletes, isn't the current view pointer then dangling?

May 4 2018, 4:47 AM · Atelier: General Development
cullmann added a comment to D12691: Close Files in the KTextEditor.

Hmm, of example in the

May 4 2018, 4:44 AM · Atelier: General Development
patrickelectric requested changes to D12691: Close Files in the KTextEditor.
May 4 2018, 2:29 AM · Atelier: General Development
patrickelectric added inline comments to D12690: GCodeWidget Improvements.
May 4 2018, 2:28 AM · Atelier: General Development
rizzitello updated the test plan for D12691: Close Files in the KTextEditor.
May 4 2018, 1:27 AM · Atelier: General Development
rizzitello added a project to D12691: Close Files in the KTextEditor: Atelier: General Development.
May 4 2018, 1:26 AM · Atelier: General Development
rizzitello added a project to D12690: GCodeWidget Improvements: Atelier: General Development.
May 4 2018, 12:31 AM · Atelier: General Development

May 3 2018

rizzitello added a project to D12687: Fix the crash when more then one document is open in gcodeeditor: Atelier: General Development.
May 3 2018, 10:00 PM · Atelier: General Development
rizzitello abandoned D12675: Fix crash on deconstruction.

I have found a different way to fix the crash without removing the code here.. I will abandon this revision and use that one..

May 3 2018, 9:54 PM · Atelier: General Development
cullmann added a comment to D12675: Fix crash on deconstruction.

Hi, I think the reference to kateviewmanager.cpp is a good hint for how to implement it "correctly".
Unfortunately the proper xmlgui client handling is a bit hard.
You always need to add/remove the clients from your factory.
As you see, kate uses some class to disable updates during that process, to avoid nasty toolbar/menu flickering as comfort feature.
If you properly remove the stuff, no crashs shall happen. At least I am not aware of such issues.

May 3 2018, 7:15 PM · Atelier: General Development
patrickelectric requested changes to D12675: Fix crash on deconstruction.

@patrickelectric Kate has a view manager, that changes the factory when something changes see https://github.com/KDE/kate/blob/master/kate/kateviewmanager.cpp#L610
As you can see to activate a new view it removes the previous one.

May 3 2018, 7:08 PM · Atelier: General Development
laysrodrigues added a comment to D12675: Fix crash on deconstruction.

@patrickelectric Kate has a view manager, that changes the factory when something changes see https://github.com/KDE/kate/blob/master/kate/kateviewmanager.cpp#L610
As you can see to activate a new view it removes the previous one.

May 3 2018, 6:46 PM · Atelier: General Development
patrickelectric added a comment to D12675: Fix crash on deconstruction.

@patrickelectric The problem is that since we dont remove the views, they start to have conflict and the files are not managed properly by KTextEditor and guiFactory(Main Window).
See the discussion on telegram.

May 3 2018, 5:36 PM · Atelier: General Development
laysrodrigues added a comment to D12675: Fix crash on deconstruction.

@patrickelectric The problem is that since we dont remove the views, they start to have conflict and the files are not managed properly by KTextEditor and guiFactory(Main Window).
See the discussion on telegram.

May 3 2018, 4:50 PM · Atelier: General Development
patrickelectric accepted D12675: Fix crash on deconstruction.

@laysrodrigues What is the problem of this PR ?

May 3 2018, 2:24 PM · Atelier: General Development
laysrodrigues updated subscribers of D12675: Fix crash on deconstruction.

@cullmann would you be able to give us a insight about this?
We are using KTextEditor, and the current code is crashing when Atelier closes if we have two or more files open.
Thanks

May 3 2018, 12:57 PM · Atelier: General Development
rizzitello planned changes to D12675: Fix crash on deconstruction.

Planed Changed to address lays consern above.

  • GCodeEditor: Allow user to close files.
  • GCodeEditor: Prevent the user from opening the same file twice.
  • MainWindow: Remove Closed files from file list.
May 3 2018, 11:27 AM · Atelier: General Development
laysrodrigues requested changes to D12675: Fix crash on deconstruction.
  • Open two files
  • Edit the second file
  • Save the edition on second file
  • Open the second file again (You can close it or open as a third file)
  • it will give to you that warning. The file wasn't properly saved because the views are messed up.
May 3 2018, 1:57 AM · Atelier: General Development
rizzitello updated the diff for D12675: Fix crash on deconstruction.
  • rebase
May 3 2018, 1:40 AM · Atelier: General Development
rizzitello closed D12651: Preserve QUrl.
May 3 2018, 1:38 AM · Atelier: General Development
rizzitello updated the diff for D12651: Preserve QUrl.
  • rebase
May 3 2018, 1:37 AM · Atelier: General Development
rizzitello closed D12653: Remove Duplicate Filelists.
May 3 2018, 1:35 AM · Atelier: General Development
rizzitello updated the diff for D12653: Remove Duplicate Filelists.
  • Rebase
May 3 2018, 1:34 AM · Atelier: General Development
rizzitello closed D12654: Set a minimumSize.
May 3 2018, 1:33 AM · Atelier: General Development
laysrodrigues accepted D12653: Remove Duplicate Filelists.
May 3 2018, 1:33 AM · Atelier: General Development
laysrodrigues accepted D12654: Set a minimumSize.
May 3 2018, 1:32 AM · Atelier: General Development
laysrodrigues accepted D12651: Preserve QUrl.
May 3 2018, 1:24 AM · Atelier: General Development

May 2 2018

rizzitello updated the diff for D12654: Set a minimumSize.
  • adjust virtual
May 2 2018, 10:53 PM · Atelier: General Development
rizzitello updated the diff for D12675: Fix crash on deconstruction.
  • update virtual
May 2 2018, 10:49 PM · Atelier: General Development
patrickelectric added inline comments to D12675: Fix crash on deconstruction.
May 2 2018, 10:25 PM · Atelier: General Development
rizzitello updated the diff for D12675: Fix crash on deconstruction.
  • Remove empty line
May 2 2018, 10:10 PM · Atelier: General Development
rizzitello added a project to D12675: Fix crash on deconstruction: Atelier: General Development.
May 2 2018, 10:10 PM · Atelier: General Development
rizzitello updated the summary of D12654: Set a minimumSize.
May 2 2018, 8:55 PM · Atelier: General Development
patrickelectric accepted D12654: Set a minimumSize.
May 2 2018, 8:55 PM · Atelier: General Development
patrickelectric accepted D12651: Preserve QUrl.
May 2 2018, 8:54 PM · Atelier: General Development
patrickelectric accepted D12653: Remove Duplicate Filelists.
May 2 2018, 8:53 PM · Atelier: General Development
rizzitello updated the diff for D12654: Set a minimumSize.
  • use pepo's math instead of W width
May 2 2018, 8:53 PM · Atelier: General Development
rizzitello updated the summary of D12654: Set a minimumSize.
May 2 2018, 8:46 PM · Atelier: General Development
rizzitello updated the summary of D12654: Set a minimumSize.
May 2 2018, 8:46 PM · Atelier: General Development
rizzitello updated the diff for D12654: Set a minimumSize.
  • rebase / tomaz suggestion
May 2 2018, 8:38 PM · Atelier: General Development
rizzitello updated the diff for D12651: Preserve QUrl.
  • rebase / tomaz suggestion
May 2 2018, 8:29 PM · Atelier: General Development
rizzitello updated the diff for D12653: Remove Duplicate Filelists.
  • rebase / tomaz suggestions
May 2 2018, 8:25 PM · Atelier: General Development
tcanabrava added inline comments to D12651: Preserve QUrl.
May 2 2018, 9:14 AM · Atelier: General Development
tcanabrava added inline comments to D12654: Set a minimumSize.
May 2 2018, 9:13 AM · Atelier: General Development
tcanabrava added inline comments to D12653: Remove Duplicate Filelists.
May 2 2018, 9:12 AM · Atelier: General Development
aziegler added a comment to D12654: Set a minimumSize.

Keep the destructor even if it does nothing (and add a virtual to it) to always call the destructor of the parent. besides that, +1.

May 2 2018, 9:05 AM · Atelier: General Development
rizzitello updated the diff for D12654: Set a minimumSize.
  • Remove un wanted line
May 2 2018, 2:31 AM · Atelier: General Development
rizzitello added a project to D12654: Set a minimumSize: Atelier: General Development.
May 2 2018, 2:30 AM · Atelier: General Development
rizzitello added a project to D12653: Remove Duplicate Filelists: Atelier: General Development.
May 2 2018, 1:18 AM · Atelier: General Development
rizzitello added a project to D12651: Preserve QUrl: Atelier: General Development.
May 2 2018, 1:01 AM · Atelier: General Development

May 1 2018

rizzitello closed D12649: Remove tr calls and use i18n.
May 1 2018, 9:52 PM · Atelier: General Development
laysrodrigues accepted D12649: Remove tr calls and use i18n.
May 1 2018, 9:44 PM · Atelier: General Development
rizzitello added a project to D12649: Remove tr calls and use i18n: Atelier: General Development.
May 1 2018, 9:36 PM · Atelier: General Development

Apr 28 2018

rizzitello closed D12585: Show log on unconnected instances..
Apr 28 2018, 4:41 PM · Atelier: General Development
laysrodrigues accepted D12585: Show log on unconnected instances..
Apr 28 2018, 4:04 PM · Atelier: General Development
rizzitello updated the diff for D12585: Show log on unconnected instances..
  • Remove empty lines
Apr 28 2018, 4:03 PM · Atelier: General Development
patrickelectric accepted D12585: Show log on unconnected instances..
Apr 28 2018, 4:02 PM · Atelier: General Development
rizzitello updated the summary of D12585: Show log on unconnected instances..
Apr 28 2018, 3:59 PM · Atelier: General Development
rizzitello added a project to D12585: Show log on unconnected instances.: Atelier: General Development.
Apr 28 2018, 3:58 PM · Atelier: General Development

Apr 17 2018

rizzitello closed D12265: Allow user to close left half of splitter..
Apr 17 2018, 8:37 PM · Atelier: General Development
rizzitello updated the diff for D12265: Allow user to close left half of splitter..
  • Rebase, Remove uncheck
Apr 17 2018, 8:36 PM · Atelier: General Development
rizzitello closed D12268: Thermo Label location adjustment.
Apr 17 2018, 8:12 PM · Atelier: General Development
rizzitello updated the diff for D12268: Thermo Label location adjustment.
  • Rebase
Apr 17 2018, 8:12 PM · Atelier: General Development
rizzitello closed D12266: Adjust Size of Plot and Movement Widgets.
Apr 17 2018, 8:11 PM · Atelier: General Development
patrickelectric added inline comments to D12265: Allow user to close left half of splitter..
Apr 17 2018, 12:07 PM · Atelier: General Development
rizzitello added inline comments to D12265: Allow user to close left half of splitter..
Apr 17 2018, 11:57 AM · Atelier: General Development
patrickelectric added inline comments to D12265: Allow user to close left half of splitter..
Apr 17 2018, 11:54 AM · Atelier: General Development
laysrodrigues accepted D12266: Adjust Size of Plot and Movement Widgets.
Apr 17 2018, 11:50 AM · Atelier: General Development
rizzitello added inline comments to D12266: Adjust Size of Plot and Movement Widgets.
Apr 17 2018, 11:47 AM · Atelier: General Development
laysrodrigues accepted D12268: Thermo Label location adjustment.
Apr 17 2018, 11:40 AM · Atelier: General Development