Clicking database icon in iReport 4.5 does not prompt query dialog

I ran into an issue with iReport 4.5.0 and 4.5.1 where clicking the database icon to edit the query would cause the (modal) query editing dialog to not display which required a force close of the application.

I am using a Windows 7 machine with two monitors of different resolution, which I am expecting to be part of the problem. The issue is with the line:

ReportQueryDialog.position.x=-1424

in the file ~/AppData/Roaming/.ireportpro/4.5.1/config/Preferences/com/jaspersoft/ireport.properties

Obviously, a negative x coordinate would render the dialog outside of my resolution, so resetting that value to 0 solves the issue. 

I didn't see anything on this site when I searched for the issue and figured it out myself and wanted to share. 

dhoppmann's picture
349
Joined: Mar 7 2008 - 4:43am
Last seen: 1 year 8 months ago

I had the same symptom, I checked that parameter in the ireport.properties files but It was ok. Anyway I noticed that the last line of the file was related to the query dialog. I commented the line and the query dialog icon started to work again. I solved the problem thanks to your post.

Thank you!

liosc - 7 years 7 months ago

1 Answer:

I answered my own question. Was posting to hopefully help someone else out. 

dhoppmann's picture
349
Joined: Mar 7 2008 - 4:43am
Last seen: 1 year 8 months ago
Feedback
randomness