octalmage / mDesktop

mDesktop is a lightweight application that allows the user to utilize multiple virtual desktops.
Other
242 stars 46 forks source link

Missing Windows #12

Open latin-programmer opened 10 years ago

latin-programmer commented 10 years ago

Sometimes, windows get lost when switching between desktops. It only happens now and then so it is hard to reproduce. From what I have seen though, it happens more often if:

I'll add more information to this whenever it happens now that we have the code to make some calls.

Workaround: Use process hacker to retrieve the window. Sometimes starting a log-off will get the window back when something is not saved (like Word) prompting you to save the work. You can cancel the log-off at that point and get the window back.

Issue on Google code: https://code.google.com/p/mdesktop/issues/detail?id=66

--- Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/2761361-missing-windows?utm_campaign=plugin&utm_content=tracker%2F1897034&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F1897034&utm_medium=issues&utm_source=github).
latin-programmer commented 10 years ago

This happened to me today so I'm documenting the details of what I'm seeing.

The order of events was as follows:

This is the first time since I posted the original issue that the bug has re-occurred. I'll try next time to get more technical information about the window handles. I did get some screenshots:

image

image

The first image shows MDesktop being "confused" by having a checkbox on the third window (named "Meetings") while the number still displays "1" and the windows are all lost. This is usually the other symptom that goes along with losing the windows.

The second screenshot shows that Process Hacker's "Window" option is greyed-out so it is not possible to recover that particular window with that shortcut. I was still able to recover the window using the following suggestion from Jason Stallings in Process Hacker: "Use View/Windows, sort [by Text], right click the lost window and select Visible."

MPagel commented 10 years ago

(thanks for inputting this bug into GetHub, I've just recently switched back to Windows (8.1) from Linux, and this was the most annoying bug I encountered a couple years ago)

--original reporter for bugs #66, #150, #152; requests #65, #112

octalmage commented 10 years ago

Unfortunately since I've been using Mac OS exclusively for the past few years it's hard for me to troubleshoot these kind of issues.

I'm going to try to get to #9 this week so it doesn't cause any data loss, it would be awesome if we could find reliable replication steps!