- User Since
- Jan 6 2015, 5:06 AM (201 w, 16 h)
I mentioned one interesting thing more.
When I switch to another task, in case of a lost mouse click - not only keyboard works correctly in the active window, but mouse scroll works correctly too. Only mouse clicks (left and right buttons, additional buttons too) are lost for the first click. So, for example, if I switch to another window using mouse and WinList - I cannot use WinList again immediately, the first click of additional button is lost, WinList does not get active.
Sun, Nov 11
Sure, the click to dismiss winlist must be lost, I don't count it. I perfectly understand that it is used like 'escape' key. I mean the next click is lost.
I've just used 'git clone' command to clone the repository.
I think I'm on 'master' as I see your last modif in src/modules/winlist/e_mod_main.c:
static Eina_Bool _e_mod_action_winlist_wheel_cb(...
Sat, Nov 10
Sorry, raster, the problem is still present with the GIT version with your modifs.
Only the first time switching windows with mouse and WinList the focus is not lost. Then it is always lost till I use once Alt-Tab. Then it is not lost once etc.
Wed, Nov 7
For me it is neither related to the system charge nor to CPU use by Enlightenment.
It seems to be a bug in WinList module as it cannot be produced by keyboard manipulations, only by mouse.
Tue, Nov 6
Some additional tests with EFL 1.21.1, Enlightenment 0.22.4 on FreeBSD 12BETA2.
The problem is still present.
Really interesting point is that the problem is not present on FIRST task switch. If I open some windows and then use WinList with mouse only - everything works as expected. If I then retry - the focus is lost as explained. And if then I use WinList with keyboard (Alt-Tab) - the next time I use it with mouse it works OK - once.
It seems that the problem is NOT present in GIT version.
It would be nice to see a new release with the fix ;)
Thu, Nov 1
Fri, Oct 26
Mar 29 2018
I've just tested it a little bit more.
The problem is really simple to reproduce if I click inside winlist, choosing a window to activate. The area of winlist where I click does not matter, this click just closes winlist.
- Additional mouse button to activate winlist
- Mouse wheel to choose window
- Mouse left-click inside winlist
- Selected window becomes active (decoration), but the first click inside the window does not work (no focus), only the second one.
Mar 15 2018
@netstar, you closed it the 1 Mars ;)
...and yes, I found how to FORCE_SYNC_RENDER, you mentioned it later here (I did not see).
Were your E fixes included in 0.22.2? What will be the version of EFL with your fixes? I want to ping email@example.com to update the ports, but it would be better to wait the both products updated.
Mar 14 2018
Finally, I could test the last E build with the last EFL on my test laptop with FreeBSD 12 and HDD.
The stability is greatly improved, I could not freeze it. So I think that the problem is solved.
Note that I did NOT set _FORCE_SYNC_RENDER (I still don't understand how to do it).
The previous versions of EFL were removed with
ninja -C build uninstall
Digging into /usr/local/lib, I found some EFL-related dirs without files inside. I removed all these dirs. Then I cloned again EFL repository and I could build it. I'll test again after some commits in EFL tree, pulling the modifications.
Mar 12 2018
I need more info about meson. What file describes how should meson set paths?
I'll try to search myself, but it is really difficult for me, some months ago I even did not know that this build system exists...
@felipealmeida, what log do you want to see?
I still have the error I mentioned in the first post here, only the filename changes. These files (*.hh) do not exist in source tree (that's why compiler segfaults).
It seems that the build system mixed *.h and *.hh files somehow...
Mar 11 2018
The last Git version of Enlightenment has no problem with sysactions if I force sysconfdir as mentioned, configuring meson build.
However, it seems strange for me that for FreeBSD build we need to force using /usr/local/etc as sysconfdir. I think that it should be detected automatically by meson somehow as /usr/local/etc is default configuration directory for all non-base software.
Sorry, still does not build with
Mar 8 2018
Mar 1 2018
The file lib/evas/canvas/efl_canvas_surface_x11.eo.hh is not present in my src.
In the old directory lib/efl/interfaces/efl_gfx_gradient_linear.eo.hh is not present, in the new one it is present.
Some strange things are happening during the build...
I cloned again the repository (the first try was 'git pull' to the existing dir) and the error has changed:
I don't see in your commit the patch for src/bin/e_object.c, is it forgotten?
Feb 28 2018
The old gadget is correctly showing the current frequency with digits, so I can see that it changes (powerd is active).
The new one now works exactly as the old one - the pointer is moving in opposite direction: by default (max frequency) it's on minimum, when the frequency decreases - it turns right to reach the right position when the frequency is minimal. For me the minimum is 800MHz, the maximum is 2600MHz (I can see it on the old gadget).
BTW, visually it is not really cool - on the min and max positions the pointer is not really visible.
...And the digits on the old gadget was not so bad idea ;)
The problem is still present in last Enlightenment (GIT) built with last EFL (GIT).
The most simple way to reproduce - add mouse bindings like I described, then start two windows on the same screen (Firefox and Thunderbird), then from Firefox activate 'Windows List' with mouse button - Thunderbird is selected and put in front), then click-left somewhere inside Thunderbird. 'Windows List' will close, Thunderbird will get focus. Click somewhere inside Thunderbird window (for example, to change the active folder) - nothing happens. The second click in the same place will work correctly.
EFL & E from GIT on FreeBSD 11.1.
New CPUClock gadget still does not work correctly, the old one neither :(
I've pulled EFL and Enlightenment from GIT, applied your patch and installed.
Then I tried to install a new app and access the main menu immediately after install. I always had a freeze on this operation, I have no such freeze today. So it seems to go better.
Tomorrow I'll try to test on another laptop with FreeBSD 12.0 installed.
Feb 3 2018
Is there any possible workaround in the current state?
Could you prepare a small tool to put in evidence the popen problem? So I can try to open a ticket in FreeBSD tracker...
Maybe there are some side effects - using popen in unusual way? I doubt that nobody found this FreeBSD problem before...
It seems that it is!!
I deleted all themes with svg files and deleted 'scalable' dir from 'hicolor', so there is no svg files in /usr/local/shared. Then I killed efreetd, deleted efreetd cache and efreetd socket and restarted the laptop. After reboot I cannot reproduce the problem of main menu freezes, new apps installed OK and new icons are shown in the menu.
Feb 1 2018
I've just tested it with EFL from git of 30/01/18 23:28 - still crashes.
It's on FreeBSD 12-CURRENT (PCBSD flavor).
Sorry, still crashes for me (T6647)
Jan 31 2018
I've just tested on 12-CURRENT with EFL and E from git - the problem is still here, simple to reproduce.
Jan 28 2018
Jan 25 2018
Yes, I can interact with other windows, but no window has focus.
Nov 26 2017
Just to precise that sometimes the focus is lost after closing a window too. Another window becomes active, but does not get a focus.
Nov 18 2017
Nov 6 2017
Enlightenment never starts under Valgrind on FreeBSD, I cannot produce the logs.
Oct 29 2017
Should I re-post the Valgrind log to other ticket? Is it really useful?
Well, I tried to start E with Valgrind.
Under Xephyr it does not work at all (probably the problem of support of OpenGL under Xephyr).
So, I modified enlightenment.desktop to start it from lightdm. And it does not initialize correctly. I was waiting for 30 mins, then I killed the process. It was restarted automatically, but again - it did not finish the initialization. Maybe, I do something incorrectly.
The log file is attached.
Oct 28 2017
Sorry, another try to freeze it was "successful":
Let me know if you need any debugs on FreeBSD 11.0.
I cannot reproduce the freeze on git version of E, compiled with "-g -ggdb3 -O0" CFLAGS.
netstar, what about you?
netstar, do you mean I should try git version of E?
Xephyr is not installed on my system, Valgrind neither. I'll try to debug it tonight, having more time.
Could fvwm be replaced by LXDE? I have E and LXDE installed already, fvwm must be added...
netstar, I'm on FreeBSD 11.0-RELEASE-p8. I use lightdm to start E. Valgrind is not installed, but I can try to add it and debug E with it. But I need the detailed instructions (used it once, some years ago on RPi to debug a small app...) I have no idea - how to correctly start E under Valgrind.
so i doubt it's that.
Raster, how can you explain that I was working 10 hours on the PC, using the menu many times, than I added (manually) a desktop file and the next time the menu freezes my PC?
Nvidia, the driver is nvidia-driver-340-340.102.
I just tried to open the menu, nothing more. At the moment of the crash, E was opening the right part of the menu, this part stays semi-transparent on crash, never completely painted.
Oct 27 2017
I think to reproduce this problem for sure when I add a *.desktop file in /usr/local/share/applications
Then, if I try to open the main menu - my E always freezes. Always. As the method of tracking the changes in the directory is different on *BSD - it could explain why the problem is not present in Linux.
Oct 25 2017
I did not see any relation with minimizing/restoring windows.
On the Cpufreq gadget (in a shelf) the arrow does not move at all (stays on minimum) but the digits show the actual frequency.
On the CPUClock gadget (in a bryce) arrow moves in the opposite direction.
One more freeze, slightly different
Oct 24 2017
I've got two nice freezes on E22 beta. The both are related to "old" gadgets - ibar and main menu. There are more debug info here, hope it helps to find the source of problems.
Oct 23 2017
Oct 22 2017
Oct 2 2017
Sep 27 2017
By default - CLANG
Sep 26 2017
Yes, I compile as root
Sep 25 2017
Voila my root environnement (set in profile):
I install EFL an E normally - autogen/configure/gmake
Nothing could strip binaries. Could it be CLANG issue?
Sep 24 2017
One more freeze, this time - with OpenGL rendering active.
What compile options should I use to have line numbers shown in the backtrace?
I used the ones from https://www.enlightenment.org/docs-efl-start :
export CFLAGS="-O2 -ffast-math -march=native -g -ggdb3"
It seems that with OpenGL rendering the freeze is much more difficult (or impossible) to reproduce - the actions that always froze E before, don't freeze it now, I cannot reproduce it for the moment.
BTW, in the meantime I upgraded EFL and E to the last versions from Git - so maybe it helps too.
Anyway, as the problem was randomly present - I continue my tests, it's my everyday laptop, so if the problem is still here - it will be captured.
Probably, at one moment I reset the rendering to software from OpenGL I'm using normally.
I've just changed it to OpenGL (NVIDIA drivers), I'll try to reproduce the freeze.
Sep 23 2017
I noticed that E freezes regularly when I am debugging something in Netbeans on my laptop.
I rebuilt EFL and E with more debug info, I'll try to upload some backtraces here.
Aug 27 2017
...the CPU is 100%, used by Enlightenment process.