GCodeProjects / GCodeWorkShop

GCodeWorkShop is text editor for CNC programmers.
GNU Lesser General Public License v3.0
20 stars 7 forks source link

save deployed positions for ‚‚serial port toolbar‚‚ ‚‚find‚‚ ... #21

Closed WD50 closed 1 year ago

WD50 commented 1 year ago

(Win11) In the old EdytorNC by artur231 (r162), when I place positions for ‚‚serial port toolbar‚‚ ‚‚find‚‚ ... , they stay in place the next time I open the EdytorNC. In the EdytorNC by you made on 03/09/2023, everything returns to the initial position next time.

some lock toolbar position? save ui on exit?

u-235 commented 1 year ago

I think I've fixed this bug in the bugfix branch branch. Can you check if the fixed version works?

WD50 commented 1 year ago

I just compiled the version from: https://github.com/u-235/edytornc/archive/refs/heads/bugfix.zip and no it doesn't stay where i put toolbar. ‚‚find‚‚ always goes down and the ‚‚serial port toolbar‚‚ that I place on the right goes up at the end, means it remains open but not in position

u-235 commented 1 year ago

This error no longer occurs in Windows 7 and unfortunately there is no idea what else can be fixed yet. Are other settings such as recent files, main window position etc. saved?

WD50 commented 1 year ago

ok good news I know I'm far from good at compiling so I installed MSYS2 from scratch. This time I used command:

cd ~
wget https://github.com/u-235/edytornc/archive/refs/heads/bugfix.zip
unzip bugfix.zip
cd edytornc-bugfix
qmake -r
make -j4

this time I got everything ok and now the application remembers the positions for the toolbar. I think I didn't write the command correctly last time and MSYS2 mixed up master and bugfix. sorry it's my mistake One more thing, when I put the EdytorNC folder (73,6Mb) in the zip, it turned out to be 29.7Mb, and if I put it in 7z, then in the zip, it turned out to be 19.7Mb

u-235 commented 1 year ago

OK, thanks for the help. I moved the commit with the fixes to the master branch and deleted the bugfix branch.