enigma9o7
Crew Member
Posts: 1,427
Likes: 1,336
|
Post by enigma9o7 on Nov 13, 2021 16:11:42 GMT
I don't reboot that often, but when I do, I usually see this box, and by trial and error its almost always discord... but occasionally, it's not...
So it would be nice to be able to resize that box to be able to see what its trying to write at the bottom. Or even better yet if the box automatically sized to fit the text.
|
|
|
Post by thewaiter on Nov 13, 2021 17:17:20 GMT
snprintf(txt, sizeof(txt), _("Logout is taking too long.<br>" "Some applications refuse to close.<br>" "Do you want to finish the logout<br>" "anyway without closing these<br>" "applications first?<br><br>" "Auto logout in %d seconds."), remaining);
|
|
enigma9o7
Crew Member
Posts: 1,427
Likes: 1,336
|
Post by enigma9o7 on Nov 13, 2021 17:24:01 GMT
Are you saying it doesnt even have a list of applications there? I always assumed when it said these applications that there was supposed to be a list, otherwise how is user supposed to know what these applications refer to? I just assumed that my scale factor+resolution not being default (and the box not autosizing) made it so I couldnt see the list... but based on that, making me think, there is no list, i'm just missing some type of countdown?
|
|
|
Post by thewaiter on Nov 13, 2021 17:40:57 GMT
Moksha is not perfect...
I can look if e24 handles it better. That apps list would be cool to have
S
EDIT: OK, I have checked the e24. Same dialog
|
|
|
Post by deepspeed on Nov 14, 2021 11:42:59 GMT
The window-too-small issue seems to be theme-related.
But that's only one of two problems here. The other problem is bad wording in the dialogue which is a bit confusing. I propose something like this:
snprintf(txt, sizeof(txt), _("Logout is taking too long.<br>" "Some apps refuse to close.<br>" "Do you want to force a logout<br>" "without closing them?<br>" "You may lose unsaved work.<br><br>" "Auto logout in %d seconds."), remaining);
This makes it easier to understand, less confusing, is more concise, and also adds a "go save your work!" sort of warning as well. That should clear up a few things for the future if we can get the translators on board. Now to solve that sizing issue...
|
|
|
Post by thewaiter on Nov 14, 2021 13:21:09 GMT
I have fixed the dialog height size. Sort of dirty hack but it could be a problem related to newer EFL version. Moksha and themes need to be adapted after new EFL releases. Lots of extra work for us. Anyway, commited... Stefan
|
|
|
Post by thewaiter on Nov 14, 2021 19:29:41 GMT
I tried to add some code to see what application is pending. Yes, I know it use to be Discord but I am sorta not lucky to see it now after my code changes. DO you know how to invoke that discord behavior?
Stefan
|
|
enigma9o7
Crew Member
Posts: 1,427
Likes: 1,336
|
Post by enigma9o7 on Nov 14, 2021 20:46:14 GMT
I assume its unread messages. For me, discord almost always seems to prevent shutdown, as I always have unread messages in one server or another as I have many there that I dont pay much attention to.
|
|
|
Post by deepspeed on Nov 18, 2021 0:50:01 GMT
If you want to reproduce the force logout screen, try to open a text editor, type a few letters, and then reboot without saving the document. It should hang and ask you to close the apps first.
|
|
|
Post by thewaiter on Nov 19, 2021 12:15:34 GMT
Are you saying it doesnt even have a list of applications there? I always assumed when it said these applications that there was supposed to be a list, otherwise how is user supposed to know what these applications refer to? I just assumed that my scale factor+resolution not being default (and the box not autosizing) made it so I couldnt see the list... but based on that, making me think, there is no list, i'm just missing some type of countdown? After my Key Binding viewer project I had a closer look at this logout dialog. Now we have a list of unsaved apps: i.imgur.com/ZjtbG7P.jpgStefan
|
|