Wow, not good. I had such high hopes. This whole nonsense is just to keep a local copy of the last 20 things you have copied tot he clipboard. You only see this dialog if you go to the edit menu and select paste from clipboard history.
Would you please try one thing for me to see if it has any impact at all.
In Sigil/src/Dialogs/ClipboardHistorySelector.cpp please comment out the following lines:
Code:
void ClipboardHistorySelector::ApplicationActivated()
{
// Turned on when Sigil is activated, put the latest text if any at the top of the history
// DiapDealer - comment out these next two lines
// ClipboardChanged();
// connect(QApplication::clipboard(), SIGNAL(dataChanged()), this, SLOT(ClipboardChanged()));
// If we are currently showing this dialog, refresh the display
if (isVisible()) {
SetupClipboardHistoryTable();
}
}
and similarly in this routine
Code:
void ClipboardHistorySelector::RestoreClipboardState()
{
if (m_ClipboardHistoryItems->count() > 0) {
QApplication::clipboard()->setText(m_ClipboardHistoryItems->at(0));
}
// DiapDealer please comment out the next line as well
// connect(QApplication::clipboard(), SIGNAL(dataChanged()), this, SLOT(ClipboardChanged()));
}
Then try rebuilding. With those changes, we will have disabled the whole remember the clipboard nonsense.
And then try rebuilding and see if it has any impact. If not, then we need to start looking for things inside Qt as we really do not play much with the QClipboard.
Please let me know what you see.
KevinH