Table "column selector" problem ... is this a bug?

classic Classic list List threaded Threaded
8 messages Options
Reply | Threaded
Open this post in threaded view
|

Table "column selector" problem ... is this a bug?

kirra5
Hi

I have a small problem. Below is an example.

If we place the table on a popup and then open the "column selector" and try to check/uncheck a column in this selector, the popup hides, the table disappears and the "column selector" jumps to left top corner of the screen. It is impossible to use the "column selector" if the table is on a popup.

Is this a bug? Is there a way around it?

http://goo.gl/CQUSiz

Thanks a lot!
Reply | Threaded
Open this post in threaded view
|

Re: Table "column selector" problem ... is this a bug?

Dietrich Streifert
Just a thought: Use a modal window instead of the popup.

Am 08.10.2015 um 15:23 schrieb kirra5:

> Hi
>
> I have a small problem. Below is an example.
>
> If we place the table on a popup and then open the "column selector" and try
> to check/uncheck a column in this selector, the popup hides, the table
> disappears and the "column selector" jumps to left top corner of the screen.
> It is impossible to use the "column selector" if the table is on a popup.
>
> Is this a bug? Is there a way around it?
>
> http://goo.gl/CQUSiz
>
> Thanks a lot!
>
>
>
> --
> View this message in context: http://qooxdoo.678.n2.nabble.com/Table-column-selector-problem-is-this-a-bug-tp7587661.html
> Sent from the qooxdoo mailing list archive at Nabble.com.
>
> ------------------------------------------------------------------------------
> _______________________________________________
> qooxdoo-devel mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel


------------------------------------------------------------------------------
_______________________________________________
qooxdoo-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
Reply | Threaded
Open this post in threaded view
|

Re: Table "column selector" problem ... is this a bug?

Dietrich Streifert
Just a rough hack:

http://tinyurl.com/pm3vb85


Am 08.10.2015 um 16:52 schrieb Dietrich Streifert:

> Just a thought: Use a modal window instead of the popup.
>
> Am 08.10.2015 um 15:23 schrieb kirra5:
>> Hi
>>
>> I have a small problem. Below is an example.
>>
>> If we place the table on a popup and then open the "column selector"
>> and try
>> to check/uncheck a column in this selector, the popup hides, the table
>> disappears and the "column selector" jumps to left top corner of the
>> screen.
>> It is impossible to use the "column selector" if the table is on a
>> popup.
>>
>> Is this a bug? Is there a way around it?
>>
>> http://goo.gl/CQUSiz
>>
>> Thanks a lot!
>>
>>
>>
>> --
>> View this message in context:
>> http://qooxdoo.678.n2.nabble.com/Table-column-selector-problem-is-this-a-bug-tp7587661.html
>> Sent from the qooxdoo mailing list archive at Nabble.com.
>>
>> ------------------------------------------------------------------------------
>>
>> _______________________________________________
>> qooxdoo-devel mailing list
>> [hidden email]
>> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
>


------------------------------------------------------------------------------
_______________________________________________
qooxdoo-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
Reply | Threaded
Open this post in threaded view
|

Re: Table "column selector" problem ... is this a bug?

kirra5
Thank you for the reply, but the example is not working and I don't know how to make it work (there is no dom element).

So, is the issue with the popup a bug? Should I make a bug report?

Thanks!
Reply | Threaded
Open this post in threaded view
|

Re: Table "column selector" problem ... is this a bug?

John Spackman-3
Try this version: http://tinyurl.com/oxmqcd8




On 09/10/2015, 06:49, "kirra5" <[hidden email]> wrote:

>Thank you for the reply, but the example is not working and I don't know how
>to make it work (there is no dom element).
>
>So, is the issue with the popup a bug? Should I make a bug report?
>
>Thanks!
>
>
>
>--
>View this message in context: http://qooxdoo.678.n2.nabble.com/Table-column-selector-problem-is-this-a-bug-tp7587661p7587669.html
>Sent from the qooxdoo mailing list archive at Nabble.com.
>
>------------------------------------------------------------------------------
>_______________________________________________
>qooxdoo-devel mailing list
>[hidden email]
>https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel



------------------------------------------------------------------------------
_______________________________________________
qooxdoo-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
Reply | Threaded
Open this post in threaded view
|

Re: Table "column selector" problem ... is this a bug?

kirra5
Thank you very much, but unfortunately, this is not what I am looking for. It is not enough that it looks like an popup, I also need it to behave like one (hides when clicking outside, ....).
Reply | Threaded
Open this post in threaded view
|

Re: Table "column selector" problem ... is this a bug?

John Spackman-3
Ah - I think that’s going to be a problem unless you override some fairly fundamental handling code; it’s been a while since I looked at it but as I recall the issue will be that the framework does not distinguish between different types of popup, IE even though from your point of view the popup of the column selector is a child popup of the table which is a child of the original popup, the framework will see both of the popups as equal and therefore when you leave one popup they are all told to close.

You’ll need another approach; you could implement your own column selector which sits next to the table in the popup; toggle it’s visibility between “excluded" and “visible” if you don’t want it to always be visible.  That way the column selector is not a popup and therefore will not compete with the original popup.

Alternatively, you could try to hook events and re-show the original popup but I suspect that will be tricky, could cause flashing, and may be unpredictable in different browsers or framework versions.

John





On 09/10/2015, 08:52, "kirra5" <[hidden email]> wrote:

>Thank you very much, but unfortunately, this is not what I am looking for. It
>is not enough that it looks like an popup, I also need it to behave like one
>(hides when clicking outside, ....).
>
>
>
>
>--
>View this message in context: http://qooxdoo.678.n2.nabble.com/Table-column-selector-problem-is-this-a-bug-tp7587661p7587673.html
>Sent from the qooxdoo mailing list archive at Nabble.com.
>
>------------------------------------------------------------------------------
>_______________________________________________
>qooxdoo-devel mailing list
>[hidden email]
>https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel



------------------------------------------------------------------------------
_______________________________________________
qooxdoo-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
Reply | Threaded
Open this post in threaded view
|

Re: Table "column selector" problem ... is this a bug?

Dietrich Streifert
In reply to this post by kirra5
Sorry for that bad playground example.
But this worked somehow yesterday.

The idea is to attach a pointerdown listener to the blocker of the modal
window and close the window in this listener. The problem of my former
hack was, that the window has not created the blocker yet. We have to
attach the listener after the 'appear' event was fired.

Here is another try. I've verified that this works on a fresh playground
in IE 11, Firefox 41.0.1 and Chrome 45

http://tinyurl.com/q5g4c37



Am 09.10.2015 um 07:49 schrieb kirra5:

> Thank you for the reply, but the example is not working and I don't know how
> to make it work (there is no dom element).
>
> So, is the issue with the popup a bug? Should I make a bug report?
>
> Thanks!
>
>
>
> --
> View this message in context: http://qooxdoo.678.n2.nabble.com/Table-column-selector-problem-is-this-a-bug-tp7587661p7587669.html
> Sent from the qooxdoo mailing list archive at Nabble.com.
>
> ------------------------------------------------------------------------------
> _______________________________________________
> qooxdoo-devel mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel


------------------------------------------------------------------------------
_______________________________________________
qooxdoo-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel