LOGIN / SIGN UP

#162 Denying/ignoring client iconify requests?

Reported by: Walther (wallex) Assigned to: Andreas (ioerror)
Phase: release-0.1.11 Component: autoproperties
Type: enhancement Status: open
Priority: 4: Low
Watchers:

Attachments

Description

Would it be possible to have a setting in the CfgDeny area that will prevent windows from starting iconified?

The xprop for claws-mail shows:

WM_HINTS(WM_HINTS):

Client accepts input or input focus: True

Initial state is Iconic State.

bitmap id # to use for icon: 0x1c00037

bitmap id # of mask for icon: 0x1c00039

window id # of group leader: 0x1c00001

And PekWM respects this, however I can't find any way to make this program start non-iconified! using CfgDeny with "Hidden" does not help. The only way to avoid the iconofying is if the autoproperties specify that the window be grouped with an already visible window.

2009-06-25

16:49:41

Interesting.. I tried recompiling the plugin, and the warning went away, despite not changing the plugin version.

So the way to get this warning to pop up would be by uninstalling Claws-mail 3.7.1, installing version 3.7.0, compiling the plugin versus this version of Claws-Mail, and then updating the core without recompiling the plugin.

2009-06-10

13:46:41

I installed att_remover 1.0.10 and loaded it, but no dialogue that warns me about to old plugins appears. It seems to work just fine (at least under vbox/archlinux). Can you suggest another plugin perhaps?

2009-06-04

11:01:39

The claws-mail attachment remover version 1.0.10. According to the ebuild the address should be:

http://www.claws-mail.org/downloads/plugins/${MY_P}.tar.gz

Which means:

http://www.claws-mail.org/downloads/plugins/att_remover-1.0.10.tar.gz

2009-05-29

11:19:09

Where can I get an sufficient old plugin for claws-mail to test this? Claws-mail version is 3.7.1.

2009-05-26

23:53:57

In Fluxbox, when I launch claws-mail the behaviour is as follows:

1 A dialogue comes up telling me there are incompatible plugins.

2 At this time, I can check the iconified window list and I see claws-mail in it.

3 After clicking OK, the window is de-iconified.

There are no windows flashing anywhere... could it be that PekWM parses the "start iconified" flag after processing and displaying the window first?

20:17:54

I think the "flash" might be related to the plugin dialogue window. How do other windowmangers behave in this situation?

2009-05-25

23:08:29

For the most part it has identical behaviour: I see a window frame flashing for an instant, then it is gone and I get the dialogue box. Though, I can see the main window in my icon list.

After pressing ok nothing changes and the main window remains iconified.

But.. having a window "flash" is not natural at all... PekWM should properly handle the "start iconified" hint and not even display the window for a fraction of a second, right...?

2009-05-22

11:23:27

Thanks for testing. What is the behaviour without the patch? Does the main window stay hidden and only the dialogue box is shown or do they both stay hidden?

04:49:46

Hello.. I've been away for a while :o

Yes, this patch works, however the behaviour displayed by Claws-Mail is quite curious, it might reflect a bug in the application (or not, as it works smoothly in Fluxbox?)

When I start claws-mail, I can see the main window "flashing" for a fraction of a second, as it is hidden immediately after being displayed. Then it becomes re-displayed again. Normally time inbetween hiding and redisplaying would be nothing, but because some of my plugins are outdated, it first prompts me with a dialog box to warn me of those, therefore the main window remains hidden until I click "Ok", after which the main window reappears.

In any case, I cannot say if this isn't more of a bug in Claws-Mail than Pekwm, I thought I'd just report the behaviour.

2009-05-17

01:52:17 attached 0001-Deiconify-clients-when-a-MapRequest-comes-in.patch
01:52:17

Please try the attached patch. I think it will allow Claws-Mail to open its window on startup and also fix the problem that some panels don't deiconify the windows.

2009-03-08

22:18:41 changed from Claes Nästén to Andreas
22:18:36 changed from new to open

2009-02-25

10:58:16

Alright, according to the bug-report at the claws-mail bugzilla (http://www.thewildbeast.co.uk/claws-mail/bugzilla/show_bug.cgi?id=1851), this is some sort of problem with PekWM because the app starts iconified and almost immediately calls gtk_window_deiconify() to de-iconify itself.

The question is why PekWM is not seeing this request and applying it?

Even though, personally, in order to have the auto-grouping work, I'd still like a way to deny following the initial-iconify state of windows.