Restoring from minimizing hides dock windows

Issue #109 duplicate
Former user created an issue

Originally reported on Google Code with ID 109 ``` What steps will reproduce the problem? 1. Open the SpeedCrunch app 2. Go to Settings->Show Expression History 3. Minimize to tray 4. Restore from tray and Expression History is invisible

What is the expected output? What do you see instead? Expect to see Expression History, but see only a widened normal view

What version of the product are you using? On what operating system? Version 0.8 on Windows XP SP2

Please provide any additional information below. I had a previous (pre-release 0.8) version of Speedcrunch that exhibited the correct behavior, so I'm assuming it was a very recent change that caused this. I have observed this on two separate computers.

```

Reported by `ransom1982` on 2007-10-09 15:19:50

Comments (5)

  1. Former user Account Deleted

    ``` I'ce checked this and it actually happens after normal minimizing too. ```

    Reported by `helder.pereira.correia` on 2007-10-09 21:17:54 - Status changed: `Accepted` - Labels added: Milestone-0.9

  2. Former user Account Deleted

    ``` Changing title as it happens in Linux as well (so it's not Windows-exclusive) and it happens with regular restoring of the window too (not only in systray mode). ```

    Reported by `helder.pereira.correia` on 2007-10-09 21:19:54

  3. Former user Account Deleted

    Reported by `helder.pereira.correia` on 2007-11-18 17:11:06 - Labels added: Milestone-0.10 - Labels removed: Milestone-0.9

  4. Former user Account Deleted

    ``` Maybe related to issue #121, comment 1, so I duplicate the information here. While I was playing with the side windows, I found a bug: 1. Open the variables window. 2. Detach it from the main window 3. Close SpeedCrunch without closing the variables window before 4. Re-open SpeedCrunch. Not only is the variable window not showing (even though the menu item is marked), I was unable to make it visible again by unmarking and marking the menu item in the settings menu. -------------------- The bug is connected to the following code snippet from applySettings in crunch.cpp:

    if( settings->stayAlwaysOnTop ) setWindowFlags( windowFlags() | Qt::WindowStaysOnTopHint ); else setWindowFlags( windowFlags() & (~ Qt::WindowStaysOnTopHint) ); show();

    If you delete the show() command, all floating windows happily appear in the right position. But show() has a meaning here: It makes the main window reappear, if the stay-on-top feature is toggled. I don't have a clue why the show() command conflicts with floating dock-windows. Some deeper insight into QT seems necessary to explain this behaviour. Unfortunately, I have no experience with QT, so I am not the best choice to fix this properly.

    ```

    Reported by `wolf.lammen` on 2007-12-08 07:51:19

  5. Former user Account Deleted

    ``` Indeed related to issue #121. ```

    Reported by `helder.pereira.correia` on 2007-12-11 22:42:56 - Status changed: `Duplicate`

  6. Log in to comment