Re: Can't move windows anymore

2017-05-24 Thread Duncan
Jerome Yuzyk posted on Tue, 23 May 2017 23:53:05 -0600 as excerpted:

> [KDE 4.14.30 on Fedora 25]
> 
> The darnedest thing: suddenly I can't move a window by grabbing the
> title bar.
> Neither full height windows nor dialogs. Others have reported this, but
> mostly in past releases. It seems I need to kill the kwin process and
> restart it with "kwin --replace". Failing that, logout and back in. I'd
> rather not do that.
> 
> First off, I don't have a "kwin" process, though I do have a "kwin_x11"
> process. Secondly, is "kwin --replace" the right way to start kwin?

Using the replace option is indeed the correct way, and yes, it's kwin_x11 
now, tho I had /thought/ that change was in plasma5 for kde-frameworks5, 
not kde4, which would make sense given that the devs didn't really focus 
on wayland porting and thus need the _x11 specifier suffix until 5.  I'm 
a gentooer not a fedora guy[1], so wouldn't know, but are you sure you're 
not getting that 4.14.30 off of the legacy kdelibs4 that's still around 
to support apps that haven't been ported to frameworks5 yet, and you're 
actually running the plasma5 by kde desktop?

FWIW, running (in a terminal window, konsole or whatever) ldd 
/path/to/kwin_x11 should confirm one way or the other for sure, as it'll 
either list libQt5* and libKF5* libs, or qt4/kde4 versions.  If it's the 
5 versions as I expect, it's plasma5.

Of course you can probably query your package manager to see what package 
and version contains the kwin_x11 file, but how to do that is package 
manager specific, and my telling you how to do it on gentoo using portage 
isn't going to help you much.  But ldd is standard, shipped as a 
troubleshooting script by glibc, unless your distro has split it out 
separately.

Anyway... with xorg at least, there's exactly one window manager allowed, 
so pretty much any window manager should either replace whatever else is 
the current window manager by default, or have a parameter like kwin's
--replace, to do it.  If kwin is not run with the --replace parameter, 
it'll check to see if another window manager is already running, and will 
simply quit if so -- --replace is required to actually replace an 
existing window manager (including an earlier copy of kwin itself).  So 
yes, running it with the --replace parameter is correct. =:^)

Of course if you're running wayland the rules will differ a bit.  I'm not 
running it yet here, so don't know the details, but I guess Fedora 25 
runs wayland by default, with a gnome shell session anyway.  What it does 
for a kde/plasma session I don't know, tho I'd guess it doesn't run 
wayland by default for kde/plasma, as while they're working on it, plasma 
on wayland definitely wasn't ready for fedora 25, and while from reports 
it's working reasonably well in live-git plasma now, I seriously doubt 
it'll make it into fedora 26, either, but may well make fedora 27.

FWIW, I'm actually running live-git kde-frameworks/plasma/apps here (via 
the gentoo/kde project's overlay ebuilds), and due to various normally 
temporary instability issues with the live-git builds, I have a variety 
of hotkey shortcuts setup to reset/restart various plasma components, 
including krunner, plasmashell (was plasma-desktop in kde4), kwin_x11, 
sni-proxy (the applet that provides compatibility for legacy tray applets 
that don't do things the new way yet), etc, should they go unstable and 
need reset/restarted. =:^)

So here when kwin starts acting up on me, I just hit a couple keys to 
trigger the hotkey launcher for it, and I'm back in business.  And yes, 
kwin_x11 --replace is exactly what the kwin relauncher is configured to 
do. =:^)

---
[1] I always did dislike hats, unless it's down near or below freezing.  
Might that be related to the fact that I never was much one for red hat, 
preferring mandrake even back when I did binary-based distros (I've been 
on gentoo for nearing a decade and a half, now, as I quickly outgrew 
binary distros along with my Linux newbie status and wanted more control 
over my own systems than the binary distros normally give you)?  Hard to 
say, but I suppose it's possible it had some subconscious biasing effect.

-- 
Duncan - List replies preferred.   No HTML msgs.
"Every nonfree program has a lord, a master --
and if you use the program, he is your master."  Richard Stallman



Re: Can't move windows anymore

2017-05-25 Thread Jerome Yuzyk
On Wednesday, May 24, 2017 6:22:06 PM MDT Duncan wrote:
> Jerome Yuzyk posted on Tue, 23 May 2017 23:53:05 -0600 as excerpted:
> > [KDE 4.14.30 on Fedora 25]
> > 
> > The darnedest thing: suddenly I can't move a window by grabbing the
> > title bar.
> > Neither full height windows nor dialogs. Others have reported this, but
> > mostly in past releases. It seems I need to kill the kwin process and
> > restart it with "kwin --replace". Failing that, logout and back in. I'd
> > rather not do that.
> > 
> > First off, I don't have a "kwin" process, though I do have a "kwin_x11"
> > process. Secondly, is "kwin --replace" the right way to start kwin?
> 
> Using the replace option is indeed the correct way, and yes, it's kwin_x11
> now, tho I had /thought/ that change was in plasma5 for kde-frameworks5,
> not kde4, which would make sense given that the devs didn't really focus
> on wayland porting and thus need the _x11 specifier suffix until 5.  I'm
> a gentooer not a fedora guy[1], so wouldn't know, but are you sure you're
> not getting that 4.14.30 off of the legacy kdelibs4 that's still around
> to support apps that haven't been ported to frameworks5 yet, and you're
> actually running the plasma5 by kde desktop?

Thanks. I'll have to file it away for next time. Since I had a large set of 
F25 updates I put off because there was a pile of KDE stuff I did the upgrade-
reboot. I like long uptimes and that seems to trigger the bug with the latest-
ish release that F25 provides. I'll find out in a couple months, maybe.





Re: Can't move windows anymore

2017-05-26 Thread Sérgio Basto
Hi ! , 

On Tue, 2017-05-23 at 23:53 -0600, Jerome Yuzyk wrote:
> [KDE 4.14.30 on Fedora 25]
> 
where or you get KDE 4.14.30 on Fedora 25 ? or you mean by that ? , I
use kde-workspace-4.11.22-20.fc25.x86_64 on my desktop [1] and I
publish my builds on [2],  all applications like konsole, we don't
change it, I use the system ones, I can use systemsettings5 and
systemsettings  , it is quite fun and works almost 100%, i. e. have the
same bugs not new ones :) .


[2]
https://copr.fedorainfracloud.org/coprs/sergiomb/kde4for23/ 

[1] 
rpm -qf /usr/bin/kwin
kde-workspace-4.11.22-20.fc25.x86_64

ps -ef | grep -P " k|kde|kwin"

root    39 2  0 mai21 ?    00:00:00 [kdevtmpfs]
root  1662  1028  0 mai21 ?    00:00:00 /usr/libexec/sddm-helper 
--socket /tmp/sddm-auth6b3b7e5a-1685-4b5e-bf01-f8fcc5bb62f5 --id 1 --start 
/usr/bin/
startkde --user sergio
sergio    1693  1662  0 mai21 ?    00:00:00 /bin/sh /usr/bin/startkde
sergio    1838  1693  0 mai21 ?    00:00:00 /usr/bin/ssh-agent /bin/sh -c 
exec -l /bin/bash -c "/usr/bin/startkde"
sergio    1915 1  0 mai21 ?    00:00:00 /usr/libexec/kde4/start_kdeinit 
+kcminit_startup
sergio    1916 1  0 mai21 ?    00:00:00 kdeinit4: kdeinit4 Running...
sergio    1917  1916  0 mai21 ?    00:00:00 kdeinit4: klauncher [kdeinit] 
--fd=9
sergio    1919 1  0 mai21 ?    00:00:40 kdeinit4: kded4 [kdeinit]
sergio    1925 1  0 mai21 ?    00:00:02 kdeinit4: kglobalaccel [kdeinit]
sergio    1937  1693  0 mai21 ?    00:00:00 kwrapper4 ksmserver
sergio    1944  1916  0 mai21 ?    00:00:13 kdeinit4: ksmserver [kdeinit]
sergio    2012  1944  0 mai21 ?    00:33:14 kwin -session 
10dfcedf750001450024408015026_1495328060_557005
sergio    2024  1916  0 mai21 ?    00:00:13 
/usr/libexec/kf5/polkit-kde-authentication-agent-1
sergio    2029  1916  0 mai21 ?    00:00:31 /usr/libexec/kdeconnectd
sergio    2035 1  0 mai21 ?    00:01:09 kdeinit4: krunner [kdeinit]
sergio    2036 1  0 mai21 ?    00:35:24 kdeinit4: plasma-desktop 
[kdeinit]
sergio    2117  1916  0 mai21 ?    00:00:00 /usr/bin/xsettings-kde
sergio    2147 1  0 mai21 ?    00:00:20 kmix -session 
10dfcedf7500014881495460018710036_1495328060_351064
sergio    2264  1666  0 mai21 ?    00:00:29 /usr/bin/kded5
sergio    2287  1666  0 mai21 ?    00:00:00 kdeinit5: Running...
sergio    2303 1  0 mai21 ?    00:00:23 kdeinit4: klipper [kdeinit]
sergio    5929  1916  0 02:42 ?    00:00:00 kdeinit4: kio_http [kdeinit] 
http local:/run/


> The darnedest thing: suddenly I can't move a window by grabbing the
> title bar. 
> Neither full height windows nor dialogs. Others have reported this,
> but mostly 
> in past releases. It seems I need to kill the kwin process and
> restart it with 
> "kwin --replace". Failing that, logout and back in. I'd rather not do
> that.
> 
> First off, I don't have a "kwin" process, though I do have a
> "kwin_x11" 
> process. Secondly, is "kwin --replace" the right way to start kwin?
> 

I run kwin from my package kde-workspace-4.11.22 from 
https://cgit.kde.org/kde-workspace.git/?h=KDE%2F4.11

I'd like hear some suggestion ...
Best regards,
-- 
Sérgio M. B.


Re: Can't move windows anymore

2017-05-27 Thread Sérgio Basto
On Fri, 2017-05-26 at 20:42 -0600, Jerome Yuzyk wrote:
> Hello. I was told KDE 4.14.30 by Konqueror's Help->About KDE.

ah that is right , only Konqueror still built with KDE 4.14 , but for
fedora 26 we got konqueror built with kf5 , last build of kde-baseapps
with konqueror is 16.08.3-2.fc25 [1] after we got konqueror alone in
[2] 
BTW my kde4-plasma project is based on that kde 4.14 libs , but except
kde4-plasmoids 

you may try my kde4 konqueor build [3] or also new konqueror [4]

[3]
dnf --disablerepo='*' --enablerepo=sergiomb-kde4for23  install
konqueror-0:16.08.3-4.fc25.x86_64 --allowerasing 

[4]
dnf --disablerepo='*' --enablerepo=sergiomb-kde4for23 update konqueror

[1]
https://koji.fedoraproject.org/koji/buildinfo?buildID=839642 

[2] 
https://koji.fedoraproject.org/koji/packageinfo?packageID=23606
-- 
Sérgio M. B.


Re: Can't move windows anymore

2017-05-27 Thread Sérgio Basto
On Sat, 2017-05-27 at 17:10 +0100, Sérgio Basto wrote:
> but except kde4-plasmoids 

and kcm (thing to appears icons in system settings 

almost all is kf5 from Fedora proper. 


-- 
Sérgio M. B.