Commit graph

855 commits

Author SHA1 Message Date
Lars Brubaker
83fd3423ec Working on new supports
refactoring tour classes
2018-12-28 16:00:30 -08:00
LarsBrubaker
789a950b9e Make the list view start out with correct scrolling
issue: MatterHackers/MCCentral#4785
fresh install starts with favorites scrolled down
2018-12-27 22:57:13 -08:00
John Lewin
20e841f4fa Lock layout while updating children 2018-12-27 16:30:35 -08:00
John Lewin
9ef7fe1c0d Remove async keywords, invoke synchronous code with Task.Run 2018-12-27 16:30:35 -08:00
John Lewin
25f445e22f Invoke synchronous methods with Task.Run 2018-12-27 16:30:35 -08:00
John Lewin
36261764a2 On load, run ListViewItem.LoadItemThumbnail on a separate task 2018-12-27 16:30:35 -08:00
John Lewin
7965d96875 Only create one workspace per printer
- Issue MatterHackers/MCCentral#4746
Only load first workspace assigned to a given printer
2018-12-27 16:30:34 -08:00
Lars Brubaker
2abc665456 Took out topmost system window as it has consequences 2018-12-27 14:46:46 -08:00
Lars Brubaker
6e4334bd2c Fixing remove for MeshWrapperObjects
issue: atterHackers/MCCentral#4766
undo after subtract and replace leaves extra copy of item
2018-12-27 13:25:12 -08:00
Lars Brubaker
e29d93b534 Make sure the slice settings rows position on the last parent window 2018-12-27 11:48:47 -08:00
Lars Brubaker
ce2938fdcd Make provider IDs have better hash codes that 32 bit object GetHashCode 2018-12-27 11:48:47 -08:00
John Lewin
e7f1a12d1b Add extra assert for ReadThread.NumRunning == 0 2018-12-26 16:56:03 -08:00
John Lewin
bedc0ab413 Close connection on printer tab close
- Issue MatterHackers/MCCentral#4752
Printer still connected and printing after tab is closed
2018-12-26 16:42:48 -08:00
John Lewin
b16c13bec0 Simplify 2018-12-26 16:39:30 -08:00
John Lewin
1ee3b5badf Remove outdated comment, CreateStreamProcessors called above 2018-12-26 16:33:17 -08:00
John Lewin
0d111a09a3 Persist user workspaces on signout, guest workspaces on signin
- Issue MatterHackers/MCCentral#4699
Bed plate should be saved on sign out
2018-12-26 15:51:00 -08:00
John Lewin
5afdfdb989 New tabs should open to the far right
- Issue MatterHackers/MCCentral#4693
Added printer/part tabs should be at position count + 1
2018-12-26 14:06:38 -08:00
John Lewin
eaf4e7fd0e Use theme.CreateDialogButton() for dialog button styling defaults
- Issue MatterHackers/MCCentral#4774
Inconsistent dialog button sizes
2018-12-26 13:47:05 -08:00
John Lewin
fbd1368e90 Store and use passed in theme reference
- Issue MatterHackers/MCCentral#4773
Incorrect text color on theme panel
2018-12-26 13:37:03 -08:00
Lars Brubaker
54f06efac3 New popover fixes: timeout and closing
issue: MatterHackers/MCCentral#4759
Popovers orphaned when parent PopupWidgets close

MatterHackers/MCCentral#4760
Popovers should autoclose like ToolTips

MatterHackers/MCCentral#4770
Text field loosing focus when moving to new setting
2018-12-26 10:06:40 -08:00
John Lewin
eb4e741c48 Fix auto arrange/selection quirks
- Issue MatterHackers/MatterControl#4111
Auto arrange does not work for multiple items
2018-12-24 12:48:31 -08:00
John Lewin
230ffdc029 Revise and build out ICustomSearch implementations 2018-12-24 12:48:31 -08:00
John Lewin
f88b04b7bc Change from KeywordFilter property to ICustomSearch 2018-12-24 12:45:35 -08:00
Lars Brubaker
d2ecb796a4 fixing SubtractAndReplace Object to match subtract refactoring
issue: MatterHackers/MCCentral#4764
Deleting a subtract and replace causes the original objects to move
2018-12-24 11:10:53 -08:00
LarsBrubaker
b0e1a0fadc Make disable leveling per printer rather than static
issue: MatterHackers/MCCentral#4722
Running Pulse Bed leveling while using multiple printers in Single-Windows causes the prints to fail
2018-12-22 08:31:25 -08:00
LarsBrubaker
149ba6d3c2 Made the selection object in subtract always render right
This fixes an issue where if the selected subtract item was
a group it would not render corectly
2018-12-22 08:02:41 -08:00
LarsBrubaker
81df3f2b1c compile and continue (the actual fix) 2018-12-22 07:54:35 -08:00
LarsBrubaker
231af2df67 Subtract and replace can handle multiple keep objects
Also fixes it being applied to an existing subtract and replace
2018-12-22 07:53:26 -08:00
John Lewin
c4df1954ac Improve pixel alignment for popover border 2018-12-21 18:37:11 -08:00
John Lewin
170b458676 Add popover support to all SliceSettingsRows
- Issue MatterHackers/MCCentral#4747
No HelpText on PrintPopupMenu SettingsRows
2018-12-21 18:37:11 -08:00
John Lewin
794d2b87c1 Add border stroke to popovers 2018-12-21 18:37:11 -08:00
John Lewin
19fea5163e Fix invalid popover notch position
- MatterHackers/MCCentral#4748
Right aligned popovers position notch at incorrect position
2018-12-21 18:37:11 -08:00
John Lewin
db8b97275b Revert "Only show highlight background if first under mouse"
This reverts commit e3a748f45d.
2018-12-21 18:37:11 -08:00
John Lewin
f06e67a65e Use EventHandler<StringEventArgs> for SettingChanged event
- Issue MatterHackers/MCCentral#4730
Event should declare specialized EventArgs used via EventHandler<T>
2018-12-21 18:37:11 -08:00
John Lewin
b6d30bf781 Fix missing popovers - use ContainsFirstUnderMouseRecursive 2018-12-21 18:37:11 -08:00
Tyler Anderson
cbcc2dc019 Show message explaining port permissions when connection fails on Linux 2018-12-21 18:34:23 -08:00
Lars Brubaker
bbb27ea25c Added in a all on and all off temp control 2018-12-21 18:06:35 -08:00
LarsBrubaker
201c9d1d65 Improved subtract selection rendering
does not modify the part colors only the rendering colors
Refactoring
2018-12-21 08:27:40 -08:00
Lars Brubaker
d74357508d Don't strip comments while exporting 2018-12-20 16:56:25 -08:00
Lars Brubaker
c789a3fe0a More GCode export fixes
More GCode export tests
2018-12-20 16:01:03 -08:00
Lars Brubaker
e0a9ab1526 Writing tests for Combine and Subtract 2018-12-20 14:22:40 -08:00
John Lewin
06c335c699 Improve naming to clarify usage 2018-12-19 18:01:34 -08:00
John Lewin
390b6fd59e Close constructed widgets
- Issue MatterHackers/MCCentral#4739
DynamicPopupContent popups construct and fail to close their
generated widget
2018-12-19 18:00:13 -08:00
John Lewin
e3a748f45d Only show highlight background if first under mouse
- Prevents highlight from occurring on siblings below popup menu
2018-12-19 17:31:37 -08:00
John Lewin
4d4c4cff8f Only display slice settings popovers for the FirstUnderMouse widget
- Issue MatterHackers/MCCentral#4738
Expand All menu item click failure
2018-12-19 17:26:07 -08:00
John Lewin
82d7ce9c6f Simplify as suggested by IDE 2018-12-19 15:53:54 -08:00
John Lewin
801363fe49 ReloadAll should not rebuild workspaces
- Issue MatterHackers/MCCentral#4704
2018-12-19 15:53:54 -08:00
John Lewin
2ff5ddbf95 Use local this reference instead of ApplicationController.Instance
Simplify to prevent insidious bugs during construction
2018-12-19 09:24:11 -08:00
John Lewin
b405688629 Remove workspace for printer when printer is removed
- Issue MatterHackers/MCCentral#4732
ActivePrinters should decrement by one when printer is closed
2018-12-19 09:22:03 -08:00
John Lewin
c66b29e90e Remove OpenPrinterIDs from ProfileManager
- Issue MatterHackers/MCCentral#4729
Investigate failing PrinterNameChange test
2018-12-19 09:09:17 -08:00