Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dual Monitor: Second Screen not included in Expo #553

Closed
hoodie opened this issue Mar 17, 2012 · 12 comments
Closed

Dual Monitor: Second Screen not included in Expo #553

hoodie opened this issue Mar 17, 2012 · 12 comments

Comments

@hoodie
Copy link

hoodie commented Mar 17, 2012

When there is a second monitor all windows placed on that window are invisible in expo. Also the background does not zoom out as on the main screen. Have not found any option where this could be enabled. What could be the reason?
screenshot of expo

@AlbertJP
Copy link
Contributor

Please disable "workspaces only on primary monitor" in Cinnamon Settings.

This is probably a gnome shell legacy.

@hoodie
Copy link
Author

hoodie commented Mar 19, 2012

Did you mean un gconf /desktop/cinnamon/windows ?
Because in my case that is unchecked already and scale works.

@AlbertJP
Copy link
Contributor

Then it's an Expo bug.

(cinnamon settings > Desktop also contains that gconf option since 1.4)

@hoodie
Copy link
Author

hoodie commented Mar 19, 2012

Scaling works fine and workspaces expand to the second screen as well. Its just expo.

@bundabrg
Copy link

bundabrg commented Apr 3, 2012

I also wish to confirm this bug. I have 6 displays and expo only shows a single screen.

@TrickyHarry
Copy link

This is to confirm that issue #600 is directly related to this issue and I have closed #600.

We can all refer to the problem as defined in this thread.

I can confirm that:-

Please disable "workspaces only on primary monitor" in Cinnamon Settings.
This setting is disabled, allowing me to have both screens linked to a single workspace. With this setting disabled switching workspaces switches both/all linked screens.

To confirm that the problem is just in Expo/Hotspot which does not show the second screen in the mini workspace views, preventing us from selecting any windows from the 2nd screen.

@hoodie
Copy link
Author

hoodie commented May 17, 2012

It looks like this is still open in 1.4UP1. I see that you are busy with final touches on Linux Mint 13 - hopefully you'll find more time to work on cinnamon after Linux Mint 13 has been released.

@ghost
Copy link

ghost commented Aug 5, 2012

I was having this same issue. Here's my workaround:

  1. Open expoThumbnail.js
  2. Change line 192 from:
    this.shade.set_size(monitor.width, monitor.height);
    to:
    this.shade.set_size(global.screen_width, global.screen_height);
  3. Edit the _isMyWindow in ExpoWorkspaceThumbnail.prototype (line 403) so the return statement reads:
    return Main.isWindowActorDisplayedOnWorkspace(win, this.metaWorkspace.index());
  4. Now find the show function in ExpoThumbnalsBox.prototype. Around line 703 you should see:
    this._porthole = {
    x: monitor.x,
    y: portholeY,
    width: monitor.width,
    height: portholeHeight
    };
    Change this to:
    this._porthole = {
    x: 0,
    y: 0,
    width: global.screen_width,
    height: global.screen_height
    };

The only problem I've found so far is that when you hover over/navigate to a thumbnail, then leave, any full-screen windows are now moved up against the top left corner of the thumbnail, changing the position of the wallpaper on one of my desktops.

As a side note, line 187 (this.setPorthole(monitor.x, monitor.y, monitor.width, monitor.height);) seems unnecessary.

@mtwebster
Copy link
Member

Is this still a problem?

See the instructions here to try a newer version.

Marking as stale and closing in a few days if we receive no more feedback.

@mercury00
Copy link

I'm having this problem with latest 12.04 cinnamon. Or did you mean is it still a problem with a nightly release? I don't have a nightly release, just what comes down from the repos. Using the cinnamon ppa. It says version: 1.4.0-UP3-0ubuntu1~precise1

@mercury00
Copy link

ghost: Thanks for the code; this seems like kind of a temporary workaround (I'm not sure that line 703 should have x: 0, y: 0,, it seems like something else should be getting referenced, probably some values that need to be established further back in the code).. It looks like the code is specifically only written to one monitor (thinking inside the box much? or the monitor?). I see references in the expo code to primaryMonitor and monitor.width and .height with no if/case/else/ whatever for something other an primaryMonitor. For all of the 20 seconds I've browsed it and the 2 minutes I've spent looking at cinnamon, sorry if this doesn't help much.

@AlbertJP
Copy link
Contributor

I think that if we had Expo on both monitors, it could be very confusing to find workspaces especially if the monitors do not have the same size: in that case it might even display thumbnails outside a monitor with the patch of @ghost, thus being invisible.
By the way, the code changed a lot so the instructions @ghost gave don't work anymore on the present code since some of the lines he mentions do not exist anymore.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants