Autocalc popup problem after radix change

Issue #45 closed
Former user created an issue

Originally reported on Google Code with ID 45

What steps will reproduce the problem?
1. calculate: t=3 + enter
2. calculate: 5*t + enter
3. Then the popup shows the value of t
4. you press escape, to clear it
5. you press the hex radio button to view your results in hex notation
6. PROBLEM: after going to hex, the popup shows again, and you can not go
to dec again! you have to clear the popup first to be able to show dec. and
then the popup is there again!

So solution: do not show helper popup on commandline when clicking on
hex/oct/dec/bin radiobuttons :)

This is latest svn from yesterday on win32, compiled with check.pro file
using QDevelop.

Reported by deblauwetom on 2007-06-01 07:03:12

Comments (9)

  1. Former user Account Deleted

    ``` I changed the following at the beginning of the function applySettings() in crunch.cpp to solve it:

    void Crunch::applySettings() { Settings* settings = Settings::self(); settings->load();

    if( settings->mainWindowSize != QSize( 0, 0 ) ) resize( settings->mainWindowSize );

    d->editor->setAutoCompleteEnabled( false ); d->editor->setAutoCalcEnabled( settings->autoCalc ); d->editor->setSyntaxHighlight( settings->enableSyntaxHighlight ); d->editor->setHighlightColor( Editor::Number, settings->highlightNumberColor ); d->editor->setHighlightColor( Editor::FunctionName, settings->highlightFunctionColor ); d->editor->setHighlightColor( Editor::Variable, settings->highlightVariableColor ); d->editor->setHighlightColor( Editor::MatchedPar, settings->matchedParenthesisColor ); d->editor->setAutoCompleteEnabled( settings->autoComplete );

    .............rest is same................; ```

    Reported by `deblauwetom` on 2007-06-01 07:53:38

  2. Former user Account Deleted

    ``` Thank you, I'll take care of it.

    Changing the issue title. ```

    Reported by `helder.pereira.correia` on 2007-06-01 18:18:21 - Status changed: `Accepted` - Labels added: Milestone-0.8

  3. Former user Account Deleted

    ``` I apply a simpler fix, i.e. using d->editor->stopAutoCalc(), which is created specifically for this reason. ```

    Reported by `ariya.hidayat` on 2007-06-12 08:02:50 - Status changed: `Fixed`

  4. Former user Account Deleted

    ``` well, see #46 also :) this means that you will also need stopAutoComplete to really solve this one. ```

    Reported by `deblauwetom` on 2007-06-12 08:54:59

  5. Former user Account Deleted

    ``` Changing owner. ```

    Reported by `helder.pereira.correia` on 2007-06-12 09:08:29

  6. Former user Account Deleted

    ``` stopAutoComplete is there now. Thanks! ```

    Reported by `ariya.hidayat` on 2007-06-12 09:35:37

  7. Log in to comment