![]() Registered Member ![]()
|
Using KDE 4.14.1 and LibreOffice 4.3.3.2. Every time I lanch an instance of LibreOffice, using pretty much any method, the program opens minimized. I've tried most of the options under Special Window Settings and Special Application Settings to no avail. I usually use Calc, but it also occurs using Writer. I don't see any LibreOffice settings for this, so I'm guessing it follows the window manager settings.
Any ideas? |
![]() Global Moderator ![]()
|
Inadvertently created a window rule? If not, create one to have it start maximised.
Edit: To do so, open systemsettings - window behaviour - window rules
Debian testing
|
![]() Manager ![]()
|
1 - does it open not minimized for a new user
2 - did it ever? if so what is different? 3 - as a workaround you could try using "kstart --maximize-vertically oocalc" 4 - did you try opening in Konosole using the full path /usr/bin/oocalc ?? note: I Googled and saw no relevant hits on "libreoffice opens minimized" |
![]() Registered Member ![]()
|
Answering both posts (thanks for the advice):
Window rules - I had multiple rules created for LibreOffice calc to attempt to solve this problem, deleting them didn't fix the problem, nor did creating new ones. I can't easily create a new user since I get a crash when trying to launch User Management. No real changes to the system, apart from regular upgrades. The problem has occured for months. using "kstart --maximize-vertically libreoffice --calc" from the command line opens Calc maximized every time, albeit behind the Konsole or Yakuake. However, putting the same string in KMenuEdit to use in my Launcher fails to fix the problem, Calc still opens minimized. /usr/bin/libreoffice --calc from Konsole also opens maximized behind the Konsole. One oddity with testing various window rules and ways of launching Calc, Calc occasionally launched maximized and with focus, but repeating the exact same process would launch minimized. Again, thanks for any help! |
![]() ![]()
|
Reported a bug? You can still add users:
("sudo userdel dummy" will remove the user) OT: Either OOo opens minimized or it minimizes after opening. The maximization state has nothing to do w/ the minimization - any change is conincidental. Try
instead. As for the cause: run OOo so that it starts minimized, unminimize it and in konsole run "xprop > ooo.props", when the cursor turns into a '+', click the OOo window. Paste ooo.props somehwhere (if here: please use code tags!) |
![]() Registered Member ![]()
|
Adding a new user displays the same behavior.
kstart --activate libreoffice --calc opens Calc maximized behind the Konsole window. Putting the code into the KLauncher link opens minimized. Here are the results of xprop, minus the icons:
|
![]() ![]()
|
The window is behind konsole, because it says that it doesn't want to be activated (happens here as well)
This sounds really weird. a) How exactly do you start OOo "normally" b) does OOo start minimized when just called from konsole "libreoffice --calc"? |
![]() Registered Member ![]()
|
I normally open Calc via a Favorite in the Application Launcher (the big blue K in the lower left corner of the Task Manager). I also have a link under Office in the Application Launcher. Lastly, I occasionally use File->New->Spreadsheet from within an already launched instance of Calc. All methods open minimized, although very rarely it will open maximized. When it does open maximized, repeating the exact same action opens minimized.
When called from a Konsole or Yakuake it always (I think) opens maximized behind the Konsole. Thanks for helping troubleshoot this problem. |
![]() ![]()
|
Let's ignore the File/New/Spreadsheet thing for a moment (no idea what OOo would do there)
Can you please paste ~/.local/share/applications/libreoffice-calc.desktop ? |
![]() Registered Member ![]()
|
Here you go:
|
![]() ![]()
|
Unless the launcher picks the "unity-only" item (the thing you click should say "LibreOffice Calc", not "New Spreadsheet") this looks ok (eg. no "ksystraycmd")
Let's try to rule out the launcher itself: First off, revert the "kstart --activate" thing in the menu entry (apparently it's not required) Next, run
this starts the service (what the launcher does) rather than the binary. If this starts minimized, sth. about the service starting or the service itself is problematic. Otherwise plasma-desktop, rep. the actual launcher is the culprit. |
![]() Registered Member ![]()
|
kstart --service ~/.local/share/applications/libreoffice-calc.desktop opens Calc maximized (still behind Konsole, but that appears to be the "correct" behavior.) NOTE: Putting this command in the Application Launcher (which you didn't suggest but seemed reasonable) made my Plasma Task Manager freak out and I had to reboot to restore order.
I created a "Link to Application" on the desktop and it also opened minimzed, but that's still in Plasma, so I'm guessing it will have the same problem as in the Application Launcher. I also added Calc to the Panel on the Task Manager and it showed similar erratic behavior, sometimes opening maximized and sometimes minimized. |
![]() ![]()
|
LOL - that will cause a recursion =) Killing "plasma-desktop" (evtl. "kill -9 plasma-desktop") should have done, though.
Just to make this clear: "maximized" is NOT the opposite of "minimized". "Minimized" (actually "iconified") implies that the window is not shown on screen, but eg. in the taskbar only. "Maximized" means that it occupies as much space as possible. Especially, a window can very well be maximized (sized as big as possible) AND minimized (but not on screen ![]() If you desire it to be "maximized", but it's just not (yet still visible), that'd be an entirely different matter. -> Is it really minimized or just not maximized? |
![]() Registered Member ![]()
|
Ah, let me be clear on my terms! Calc opens minimized on the task manager. I want it to open maximized, in front of everything else and with focus. Exactly the way every other program opens. It's been opening, as you say, both minimized and maximized at the same time.
So, front and center and with focus is the goal, thanks! |
![]() Registered Member ![]()
|
Registered users: Bing [Bot], Google [Bot], Sogou [Bot]