Microsoft Office window-size in wine 1.7.4

Questions about Wine on Linux
Locked
marco-x200
Newbie
Newbie
Posts: 3
Joined: Tue Oct 22, 2013 7:09 am

Microsoft Office window-size in wine 1.7.4

Post by marco-x200 »

Hello

I have installed MS Office 2010 with wine 1.7.4. All works fine, but when I open a document from Word, Porwerpoint, Excel,... it isn't possible to change the size of the window. Also the reduce/restore-button doesn't work. I can completly minimize or maximize the window to fullscreen but I can't make it smaller to have two windows open. I work on Ubuntu 13.04 and with PlayOnLinux.

Can somebody help me?
User avatar
dimesio
Moderator
Moderator
Posts: 13201
Joined: Tue Mar 25, 2008 10:30 pm

Re: Microsoft Office window-size in wine 1.7.4

Post by dimesio »

POL is not supported here. I've looked at their script for Office 2010, and it does two things wrong: it sets the Windows version to 7, which will trigger bug 29788, and installs dotnet20 for no apparent reason.

Minimizing, maximizing, and resizing in Office 2010 works perfectly fine on my system. My suggestion is you reinstall in plain Wine, following the instructions in the AppDB. Otherwise, ask for help on the POL forum.
marco-x200
Newbie
Newbie
Posts: 3
Joined: Tue Oct 22, 2013 7:09 am

Re: Microsoft Office window-size in wine 1.7.4

Post by marco-x200 »

Ok i have uninstalled POL and reinstalled MS Office only with wine. All works fine, but the problem with resizing the window is still the same. I have also upgradet the system to Ubuntu 13.10.
User avatar
dimesio
Moderator
Moderator
Posts: 13201
Joined: Tue Mar 25, 2008 10:30 pm

Re: Microsoft Office window-size in wine 1.7.4

Post by dimesio »

Try disabling desktop effects, various combinations of allowing/not allowing the window manager to control/decorate the windows.
marco-x200
Newbie
Newbie
Posts: 3
Joined: Tue Oct 22, 2013 7:09 am

Re: Microsoft Office window-size in wine 1.7.4

Post by marco-x200 »

It's possible that GNOME makes the problem? Then also the topleft hot corner doesn't work while a office-document ist open. Sometimes but really rarely it works to resize the window, but next time not anymore :(
I am at a loss..
User avatar
dimesio
Moderator
Moderator
Posts: 13201
Joined: Tue Mar 25, 2008 10:30 pm

Re: Microsoft Office window-size in wine 1.7.4

Post by dimesio »

Yes, the window manager could be the problem. I use KDE.
haizaar
Newbie
Newbie
Posts: 2
Joined: Wed Nov 20, 2013 12:30 pm

Re: Microsoft Office window-size in wine 1.7.4

Post by haizaar »

I have this issue as well.
Kubuntu 13.10 64-bit.

Installed Office like in appdb with wine1.6. Office itself work OK, but resizing or moving office windows does not work.
I use KDE. Tried to disable desktop effects - did not help.

How can I further debug it?

Thanks
haizaar
Newbie
Newbie
Posts: 2
Joined: Wed Nov 20, 2013 12:30 pm

Re: Microsoft Office window-size in wine 1.7.4

Post by haizaar »

Solution found!

open winecfg
click Graphics tab
uncheck "Allow windows manager to control the windows"
dmt001
Newbie
Newbie
Posts: 1
Joined: Tue Mar 18, 2014 4:19 am

Re: Microsoft Office window-size in wine 1.7.4

Post by dmt001 »

The problem seems to be that the window manager keeps thinking that the window frame is still maximised, even though it is not any more. I have added a keyboard shortcut for maximizing a window (kwin shortcuts for KDE users). When ever I have maximized my MS Word window I use the keyboard shotcut to "unmaximize" it and it works every time. In some rare instances it does not do the trick. In such cases, I use the keyboard shortcut for placing the window on the left or right half of the screen to "unlock" the maximization.

I see this problem occurs with both Unity and KDE users so I doubt if it is a KDE related problem.

Hope it helps.
rui1965
Newbie
Newbie
Posts: 3
Joined: Tue Jun 07, 2011 4:11 am

Re: Microsoft Office window-size in wine 1.7.4

Post by rui1965 »

Quite an old topic but some other people may have the same issue.
I am using Office 2007 on Wine (1.7.25 and compiled from GIT), KDE 4.14.0.
But I had the same "maximize" problem with previous versions.
Disabling desktop effects did not help.
Unchecking "Allow windows manager to control the windows" had side effects (window always on foreground).
What works for me with Word, Excel and Powerpoint is:
  • Start System Settings
  • Select Window Behaviour
  • Select Window Rules
  • Click "New..." to create a new Window Rules
  • Enter the description
  • Window Class: Regular Expression. I use .*\b(winword.exe|excel.exe|powerpnt.exe)\b.*
  • Check "Match whole window class"
  • Check on tab "Size & Position"
  • Check "Full screen": value Forced, No
  • Check "Ignore Requested Geometry": value Forced, Yes
Namaste
Newbie
Newbie
Posts: 1
Joined: Wed Oct 01, 2014 11:13 am

Re: Microsoft Office window-size in wine 1.7.4

Post by Namaste »

Thanks and a thousand thanks to you rui1965 :D !!!.
You gave the solution to a problem that sometimes forced me (out of frustration) to open a virtual machine just to use MS Office properly.
It works flawlessly now. No weird window resizing behaviours anymore!

Thanks again.
kkatsaros
Newbie
Newbie
Posts: 1
Joined: Sun Feb 08, 2015 11:56 am

Re: Microsoft Office window-size in wine 1.7.4

Post by kkatsaros »

Thank you, thank you, thank you rui1965! Great trick, based on great KDE's power! :)

I have a possible modification. I can't get the point of modifying the "Full screen" value. In my system (Mint 17.1 with KDE 4.14.2 and PlayOnLinux) omitting this step still gives me the right behavior. Am I missing something?
Having the full screen choice is very useful during Powerpoint Slide Show.

Thanx again!
rui1965 wrote:
  • Check "Full screen": value Forced, No
bennimas
Newbie
Newbie
Posts: 1
Joined: Fri Apr 17, 2015 8:26 am

Re: Microsoft Office window-size in wine 1.7.4

Post by bennimas »

Using this code, I can actually resize the office windows. However, now all sub-windows, such as when I am select something on my page in Powerpoint or right-click on my document in Word, the small sub-windows appear in the wrong place, they are not where the mouse pointer is. Do you have an idea what could cause this behaviour?

Thank you!

Benni
Locked