Closed 607011 closed 9 years ago
Reselecting works only in some cases.
This seems to be a concurrency issue.
@Wikinaut reported that problem is still present.
Exploring …
Could not reproduce the reported bug by doing the following after a fresh install (i.e. no settings file present, not sync file or server set up):
Observations: All fields are correctly transferred to the main window. Password is generated. Spinner hidden after generation.
Successfully tested on:
Nonetheless, I could reproduce the bug by entering a new domain via Ctrl+N.
Tjs, what shall I say?
I think I found the bug. Stay tuned.
Wahoooooo! That was a difficult birth ;-)
Bug fixed in branch Issue-68.
Works on openSUSE Tumbleweed and Windows 7.
Can anyone confirm?@Wikinaut?
Please
git pull origin Issue-68
git checkout Issue-68
then build and test!
Resolved by commit a8d0cdf111a6de491de254430f95bc1dbd30195b.
The endless-loop is gone. The problem with new domains still present. I added a first new domain, closed the program and restarted- Okay. Then New Domain. Tried to enter a new domain -- no way, it does not work. No password generated, or not saved, cannot track --- too many problems with this program.
CORRECTION: https://github.com/ola-ct/Qt-SESAM/issues/56 is not solved.
make warning:
In file included from ../../../../include/qt5/QtCore/qnamespace.h:37:0,
from ../../../../include/qt5/QtCore/qobjectdefs.h:41,
from ../../../../include/qt5/QtCore/qobject.h:40,
from ../../../../include/qt5/QtCore/QObject:1,
from ../libSESAM/util.h:25,
from optionsdialog.cpp:20:
optionsdialog.cpp: In member function ‘void OptionsDialog::onServerRootUrlChanged(QString)’:
../../../../include/qt5/QtCore/qglobal.h:979:43: warning: unused variable ‘d’ [-Wunused-variable]
#define Q_D(Class) Class##Private * const d = d_func()
^
optionsdialog.cpp:244:3: note: in expansion of macro ‘Q_D’
Q_D(OptionsDialog);
I guess, you have to refactor your program. From scratch.
Tested latest commit on Xubuntu 15.04, Xubuntu 14.10, openSUSE Tumbleweed, Windows 7. Compiles fine. Runs fine. Neither #56 nor #68 appears.
Tested on another Ubuntu 15.04 (physical machine, not VM): no problems.
Tested on late 2011 MacBookPro running Mac OS X 10.10.5 and Qt 5.5.0: no problems.
Quick'n'dirty remedy: reselect domain in combobox.