Bug 351184 - warning messages during csv import are modal and under other windows. This blocks operativity
Summary: warning messages during csv import are modal and under other windows. This bl...
Status: RESOLVED WORKSFORME
Alias: None
Product: kmymoney
Classification: Applications
Component: importer (show other bugs)
Version: 4.7.2
Platform: Microsoft Windows Microsoft Windows
: NOR crash
Target Milestone: ---
Assignee: KMyMoney Devel Mailing List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-08-11 08:18 UTC by Claudio
Modified: 2017-01-02 18:02 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
bugzilla1.csv (1.26 KB, text/plain)
2015-08-11 15:44 UTC, Claudio
Details
Files.zip (527.66 KB, application/x-zip-compressed)
2015-08-11 15:44 UTC, Claudio
Details
attachment-15067-0.html (7.71 KB, text/html)
2015-08-12 07:55 UTC, Claudio
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Claudio 2015-08-11 08:18:23 UTC
If during a CSV import arise something that provokes a popup warning message (decimal point  error, fields incorrect and similar), the message itself appear upon the kmm window, but below the import wizard and file to import windws. this message pop-up windows is modal and it is impossible to reach it to press any button. Practically you cannot proceed with your operativity. It is needed to terminate the process correct the file and reenter KMM.
Moreover is to be noticed that the firs time it is no simple to see the warning message as the pop-up is no visible.

Reproducible: Always

Steps to Reproduce:
1. Import a CSV file with some error as an incorrect decimal point.
2.
3.

Actual Results:  
as explained in Details section

Expected Results:  
open the message windows on top of all the other windows or let the user to minimize the csv import plugin windows to see the message.

I am using Windows 10 operative system.
Comment 1 allan 2015-08-11 10:51:00 UTC
I don't see this behaviour here, and I've been using the importer extensively for a number of years, although only on Linux systems of various flavours, but I don't use Windows.

For instance, If I start the import process and provoke an error, say by entering a conflicting column number for the date, the information (warning) window appears on top, above the wizard, then the importer window and then the KMM window.Even if it were hidden by either or both of the importer windows, then, they may be moved to the side, showing the warning message.

I don't think it relevant in this case, but, depending on their relative sizes, the wizard window may be totally hidden by the importer window.  However, on hovering, a pop-up appears indicating "To raise the wizard window, right click on this window".

If this does not happen for you. or does not reveal the warning, might you be able to send to me, or add to the bug, a simple CSV file with no personal information, then I will investigate further, although I can't think of any data issue that might cause the behaviour you see.

Allan
Comment 2 Claudio 2015-08-11 15:44:45 UTC
Created attachment 93991 [details]
bugzilla1.csv

Hi Allan, many thanks for the quick reply and sorry if my English 
sometimes could be not so clear.

Please find attached two files. The first one is a little csv file that 
I used for my trials and provoke the warning. The second one is a zip 
file containing some screenshots of what happened to me. They are better 
explaining of my description, I think.
I am on windows 10, just upgraded. I used for many time Linux with 
pleasure (Ubuntu), but having to change my notebook I had to remain on 
Windows. I was very happy to see that KMM is usable however here too.

On what you suggested, I cannot shift the windows when the error arise 
because the importer window is freezed by the underlying warning and I 
have not the pop-up you mention.

It is true that if before to import I suppose that a warning could be, I 
could prepare the windows in positons such that there is room on the 
desktop to see the possible warning, but this is not good, to me.

On the other hand I admit that I didn't understand so far my specific 
error, but I believe that the behaviour of the warning doesn't depend on 
this.
FYI the meaning of the warning in English is: "/The selected decimal 
symbol wasn't present on the column 5, but it could be added now.//
//If the decimal symbol showed doesn't correspond to the system settings 
it is difficult that your data are correctly imported.//
//Check the selection./"

Many thanks again.
Hope that this is of help for the community.

Claudio

Il 11/08/2015 12:51, allan ha scritto:
> https://bugs.kde.org/show_bug.cgi?id=351184
>
> allan <agander93@gmail.com> changed:
>
>             What    |Removed                     |Added
> ----------------------------------------------------------------------------
>               Status|UNCONFIRMED                 |RESOLVED
>                   CC|                            |agander93@gmail.com
>           Resolution|---                         |WORKSFORME
>
> --- Comment #1 from allan <agander93@gmail.com> ---
> I don't see this behaviour here, and I've been using the importer extensively
> for a number of years, although only on Linux systems of various flavours, but
> I don't use Windows.
>
> For instance, If I start the import process and provoke an error, say by
> entering a conflicting column number for the date, the information (warning)
> window appears on top, above the wizard, then the importer window and then the
> KMM window.Even if it were hidden by either or both of the importer windows,
> then, they may be moved to the side, showing the warning message.
>
> I don't think it relevant in this case, but, depending on their relative sizes,
> the wizard window may be totally hidden by the importer window.  However, on
> hovering, a pop-up appears indicating "To raise the wizard window, right click
> on this window".
>
> If this does not happen for you. or does not reveal the warning, might you be
> able to send to me, or add to the bug, a simple CSV file with no personal
> information, then I will investigate further, although I can't think of any
> data issue that might cause the behaviour you see.
>
> Allan
>
Comment 3 Claudio 2015-08-11 15:44:47 UTC
Created attachment 93992 [details]
Files.zip
Comment 4 allan 2015-08-11 17:58:07 UTC
(In reply to Claudio from comment #2)
> Created attachment 93991 [details]
> bugzilla1.csv
> 
> Hi Allan, many thanks for the quick reply and sorry if my English 
> sometimes could be not so clear.

No problems with your English, Claudio.
> 
> Please find attached two files. The first one is a little csv file that 
> I used for my trials and provoke the warning. The second one is a zip 
> file containing some screenshots of what happened to me. They are better 
> explaining of my description, I think.

Firstly, your csv file imports correctly here.
Then, I've looked through all the screenshots, and I take it that they are showing
your progress  through the import process.

The actual warning message is indicating that the column you selected for the
money amounts does not contain the decimal separator you have selected, and
this seems to be born out by other screen-shots.  You appear to have selected
"." as the separator rather than ",", if I am correctly interpreting the screen-shot
image, which is on the small side.

If I make that same selection with your file, I too get the same warning as you
did, but all the individual windows may be move about as expected.

So, two points.  If you select the correct separator for your data, does your file
import correctly?

Secondly, the inability to move the other windows when the warning is displayed
does not occur here, but would seem to be a feature of the Windows version, which
I am not able to investigate, I'm afraid.

I'll add Cristian to the bug report, as it is he that produces the Windows version, 
in the hope that he may be able to find time to verify what you see, albeit
possibly not on Windows 10

> I am on windows 10, just upgraded. I used for many time Linux with 
> pleasure (Ubuntu), but having to change my notebook I had to remain on 
> Windows. I was very happy to see that KMM is usable however here too.
> 
> On what you suggested, I cannot shift the windows when the error arise 
> because the importer window is freezed by the underlying warning and I 
> have not the pop-up you mention.
> 
> It is true that if before to import I suppose that a warning could be, I 
> could prepare the windows in positons such that there is room on the 
> desktop to see the possible warning, but this is not good, to me.
> 
> On the other hand I admit that I didn't understand so far my specific 
> error, but I believe that the behaviour of the warning doesn't depend on 
> this.
> FYI the meaning of the warning in English is: "/The selected decimal 
> symbol wasn't present on the column 5, but it could be added now.//
> //If the decimal symbol showed doesn't correspond to the system settings 
> it is difficult that your data are correctly imported.//
> //Check the selection./"
> 
> Many thanks again.
> Hope that this is of help for the community.
> 
> Claudio
> 
> Il 11/08/2015 12:51, allan ha scritto:
> > https://bugs.kde.org/show_bug.cgi?id=351184
> >
> > allan <agander93@gmail.com> changed:
> >
> >             What    |Removed                     |Added
> > ----------------------------------------------------------------------------
> >               Status|UNCONFIRMED                 |RESOLVED
> >                   CC|                            |agander93@gmail.com
> >           Resolution|---                         |WORKSFORME
> >
> > --- Comment #1 from allan <agander93@gmail.com> ---
> > I don't see this behaviour here, and I've been using the importer extensively
> > for a number of years, although only on Linux systems of various flavours, but
> > I don't use Windows.
> >
> > For instance, If I start the import process and provoke an error, say by
> > entering a conflicting column number for the date, the information (warning)
> > window appears on top, above the wizard, then the importer window and then the
> > KMM window.Even if it were hidden by either or both of the importer windows,
> > then, they may be moved to the side, showing the warning message.
> >
> > I don't think it relevant in this case, but, depending on their relative sizes,
> > the wizard window may be totally hidden by the importer window.  However, on
> > hovering, a pop-up appears indicating "To raise the wizard window, right click
> > on this window".
> >
> > If this does not happen for you. or does not reveal the warning, might you be
> > able to send to me, or add to the bug, a simple CSV file with no personal
> > information, then I will investigate further, although I can't think of any
> > data issue that might cause the behaviour you see.
> >
> > Allan
> >
Comment 5 Thomas Baumgart 2015-08-12 06:39:47 UTC
The behavior that you cannot move a window underneath a modal dialog is a 'feature' of MS-Windows. I am not sure if we can control the window stack from within the CSV importer e.g. by selecting the parent widget of the different windows/dialogs/error messages.
Comment 6 Claudio 2015-08-12 07:55:04 UTC
Created attachment 93999 [details]
attachment-15067-0.html

Many thanks to you all, for the support and for the great software.
Some other thoughts below in blue.

Hi
Claudio

Il 11/08/2015 19:58, allan ha scritto:
> https://bugs.kde.org/show_bug.cgi?id=351184
>
> allan <agander93@gmail.com> changed:
>
>             What    |Removed                     |Added
> ----------------------------------------------------------------------------
>                   CC|                            |onet.cristian@gmail.com
>
> --- Comment #4 from allan <agander93@gmail.com> ---
> (In reply to Claudio from comment #2)
>> Created attachment 93991 [details]
>> bugzilla1.csv
>>
>> Hi Allan, many thanks for the quick reply and sorry if my English
>> sometimes could be not so clear.
> No problems with your English, Claudio.
>> Please find attached two files. The first one is a little csv file that
>> I used for my trials and provoke the warning. The second one is a zip
>> file containing some screenshots of what happened to me. They are better
>> explaining of my description, I think.
> Firstly, your csv file imports correctly here.
> Then, I've looked through all the screenshots, and I take it that they are
> showing
> your progress  through the import process.
Yes you are right. The filenames contain date and time, too
>
> The actual warning message is indicating that the column you selected for the
> money amounts does not contain the decimal separator you have selected, and
> this seems to be born out by other screen-shots.  You appear to have selected
> "." as the separator rather than ",", if I am correctly interpreting the
> screen-shot
> image, which is on the small side.
Exactly. The "." is selected directly by KMM by default. Maybe due to my 
settings or the particular file format.
>
> If I make that same selection with your file, I too get the same warning as you
> did, but all the individual windows may be move about as expected.
>
> So, two points.  If you select the correct separator for your data, does your
> file
> import correctly?
The problem is that at that point I am just not able to change it to "," 
because the modal message is already appeared and in place.
>
> Secondly, the inability to move the other windows when the warning is displayed
> does not occur here, but would seem to be a feature of the Windows version,
> which
> I am not able to investigate, I'm afraid.
I supposed that it is a Windows "fault". Don't worry.
I will try to solve my problem understanding how to prepare correctly 
the csv file in advance. Maybe working on decimal settings on KDE, 
Libreoffice and Windows. Hope that this has been useful for the future.
>
> I'll add Cristian to the bug report, as it is he that produces the Windows
> version,
> in the hope that he may be able to find time to verify what you see, albeit
> possibly not on Windows 10
>
>> I am on windows 10, just upgraded. I used for many time Linux with
>> pleasure (Ubuntu), but having to change my notebook I had to remain on
>> Windows. I was very happy to see that KMM is usable however here too.
>>
>> On what you suggested, I cannot shift the windows when the error arise
>> because the importer window is freezed by the underlying warning and I
>> have not the pop-up you mention.
>>
>> It is true that if before to import I suppose that a warning could be, I
>> could prepare the windows in positons such that there is room on the
>> desktop to see the possible warning, but this is not good, to me.
>>
>> On the other hand I admit that I didn't understand so far my specific
>> error, but I believe that the behaviour of the warning doesn't depend on
>> this.
>> FYI the meaning of the warning in English is: "/The selected decimal
>> symbol wasn't present on the column 5, but it could be added now.//
>> //If the decimal symbol showed doesn't correspond to the system settings
>> it is difficult that your data are correctly imported.//
>> //Check the selection./"
>>
>> Many thanks again.
>> Hope that this is of help for the community.
>>
>> Claudio
>>
>> Il 11/08/2015 12:51, allan ha scritto:
>>> https://bugs.kde.org/show_bug.cgi?id=351184
>>>
>>> allan <agander93@gmail.com> changed:
>>>
>>>              What    |Removed                     |Added
>>> ----------------------------------------------------------------------------
>>>                Status|UNCONFIRMED                 |RESOLVED
>>>                    CC|                            |agander93@gmail.com
>>>            Resolution|---                         |WORKSFORME
>>>
>>> --- Comment #1 from allan <agander93@gmail.com> ---
>>> I don't see this behaviour here, and I've been using the importer extensively
>>> for a number of years, although only on Linux systems of various flavours, but
>>> I don't use Windows.
>>>
>>> For instance, If I start the import process and provoke an error, say by
>>> entering a conflicting column number for the date, the information (warning)
>>> window appears on top, above the wizard, then the importer window and then the
>>> KMM window.Even if it were hidden by either or both of the importer windows,
>>> then, they may be moved to the side, showing the warning message.
>>>
>>> I don't think it relevant in this case, but, depending on their relative sizes,
>>> the wizard window may be totally hidden by the importer window.  However, on
>>> hovering, a pop-up appears indicating "To raise the wizard window, right click
>>> on this window".
>>>
>>> If this does not happen for you. or does not reveal the warning, might you be
>>> able to send to me, or add to the bug, a simple CSV file with no personal
>>> information, then I will investigate further, although I can't think of any
>>> data issue that might cause the behaviour you see.
>>>
>>> Allan
>>>
Comment 7 Peter J. Farley III 2017-01-02 18:02:25 UTC
I would like to confirm this as an issue with the Windows versions of kMyMoney 4.7.2 and 4.8.0 on a Windows 7 system.  I haven't yet tried it on Windows 10.

I found that the workaround is to move the main kMyMoney and CSV importer windows to a different positions on screen at the start of the import process.  I move the main kMyMoney window to the upper left corner of the screen (that is where the account selection window will appear) and the import wizard window to the lower left corner.  Then after selecting the file, I move the file window to the upper right corner.  Error message windows then appear in the center of the screen and can be accessed.

The problem with the Windows implementation seems to be that all windows are positioned initially at the center of the screen (or centered on the main kMyMoney window) and that the import wizard window is "always on top" while the error message windows and the account selection window appear "below" that window.  So if you move the main kMyMoney window and the import wizard window off the center of the screen then you can see and act on the error message and account selection windows.

Hope that helps someone else using the Windows version.

Peter