config window (Bug #93)


Added by red sea over 11 years ago. Updated over 9 years ago.


Status:Closed Start date:11/15/2012
Priority:Normal Due date:
Assignee:- % Done:

100%

Category:Graphical Interface
Target version:1.3.0

Description

small bug
AMC 1216
- amc allow the users to open more than 1 configure window in the same time. (AMC>Edit>config)

all programs not allow the users to open more than 1 configure window in the same time.


AMC-DEBUG-6oVDnz02.log - Log File (27.5 kB) Anirvan Sarkar, 12/26/2012 04:40 pm

AMC-DEBUG-Xc4NSsj8.log - Log File (28.4 kB) Anirvan Sarkar, 12/27/2012 04:13 pm

AMC-gui.pl - AMC-gui.pl file (198.5 kB) Anirvan Sarkar, 12/27/2012 04:20 pm

AMC-gui-edit_preferences.glade - AMC-gui-edit_preferences.glade file (236.2 kB) Anirvan Sarkar, 12/27/2012 04:20 pm


Related issues

duplicated by Bug #126: Preferences dialog can be opened twice and it messes the ... Closed 01/16/2013

History

Updated by Alexis Bienvenüe over 11 years ago

Should be fixed with revision r1236.

  • % Done changed from 0 to 100
  • Status changed from New to Resolved

Updated by Anirvan Sarkar over 11 years ago

I am still able to open more than one Preferences window. Maybe the Preferences dialog should be opened as a modal dialog or when the user clicks on the Preferences option you can check if the Preferences window is opened. If it is then you can bring it back to focus.

I would have been happy to provide a patch for this but I know Java and I am a novice in Perl. :-(
So for now I can only give tips.

Updated by Alexis Bienvenüe over 11 years ago

I am still able to open more than one Preferences window.

I can't. What distribution/window manager/AMC version do you use?

Updated by Anirvan Sarkar over 11 years ago

I have a Desktop computer and an old laptop. I cannot open more than one Preferences window in the Desktop but I can in the laptop.

Desktop Specifications:

OS: Ubuntu 12.10
Window Manager: GDMSESSION=ubuntu ; XDG_CURRENT_DESKTOP=Unity
AMC Version: Auto Multiple Choice 1.1.1245 (svn:1249)

Laptop Specifications:

OS: Ubuntu 12.04 LTS
Window Manager: GDMSESSION=ubuntu-2d ; XDG_CURRENT_DESKTOP=Unity
AMC Version: Auto Multiple Choice 1.1.1245 (svn:1249)

Also I have noticed that the Preferences window in Desktop looks different than that in the laptop. (There is Minimise and Maximise button in Desktop)

Preference window in Desktop:

Preference window in laptop:

Updated by Alexis Bienvenüe over 11 years ago

  • Status changed from Resolved to In Progress

Updated by Alexis Bienvenüe over 11 years ago

I installed Ubuntu 12.10 and AMC 1.1.1255 in a virtualbox, and it shows as your screenshot, but I still can't open two configuration windows: the main menu is not accessible when a config window is opened. This makes debugging quite difficult for me... Do you see something special in the log file produced in debugging mode?

Updated by Anirvan Sarkar over 11 years ago

Alexis Bienvenüe wrote:

I installed Ubuntu 12.10

I can open more than one preference window in my laptop which has Ubuntu 12.04 LTS installed and not Ubuntu 12.10.

I cannot open more than one preference window in my Desktop which has Ubuntu 12.10 installed.

The problem is in Ubuntu 12.04 and not in 12.10.

I couldn't understand much from the log file so I have attached the log file generated while opening the windows as shown in the screenshot. Maybe it will be helpful for you.

Updated by Alexis Bienvenüe over 11 years ago

The problem is in Ubuntu 12.04 and not in 12.10.

Sorry I misread your messages.

I tried with Ubuntu 12.04 and get the same result with AMC 1.1.1267 from the test PPA : I can't open two preferences windows.

Can you try revision 1270 and post a new log file in debug mode? I added some more debugging info to be sure the AMC-gui.pl and glade files used are the right ones.

Updated by Anirvan Sarkar over 11 years ago

Uploaded to Auto Multiple Choice 1.1.1267 (svn:1270) from subversion.

I have attached the log file for the following screenshot.

Updated by Anirvan Sarkar over 11 years ago

I have also attached the AMC-gui.pl file and AMC-gui-edit_preferences.glade file as per the path in the debug log file.

Updated by Alexis Bienvenüe over 11 years ago

Thanks for all. It seems to be the same files as in my virtualized Ubuntu 12.04, so I don't see what is going on...

Updated by Alexis Bienvenüe over 11 years ago

Perhaps this is related with Ubuntu #674605

Updated by Anirvan Sarkar over 11 years ago

Alexis Bienvenüe wrote:

Perhaps this is related with Ubuntu #674605

Yes it is. I am also able to access the menu bar when the modal window is open in other applications.

Ubuntu #674605 had been reported before two years and still this problem has not been solved. Seeing this it is unlikely that it will be solved in the near future.

In gedit you cannot open more than one Search>Replace window. When you try to open another Replace window the previous window is brought back to focus. Maybe you can do this with the Preferences window.

Updated by Anonymous about 10 years ago

Applied in changeset r1513.

  • Status changed from In Progress to Resolved

Updated by Anirvan Sarkar about 10 years ago

From r1513 more than one preference window cannot be opened using the menubar.

Hello Alexis.
Looks like my svn username is not linked with my project.auto-multiple-choice.net username. I think that's why the previous post is said to be updated by Anonymous. My svn username is anirvan and my project.auto-multiple-choice.net username is anirvan_0101. Maybe you can link it in the Project settings.

Updated by Anonymous about 10 years ago

Applied in changeset hg:aedbe498741c.

Updated by Anirvan Sarkar over 9 years ago

  • Target version set to 1.3.0
  • Category set to Graphical Interface
  • Status changed from Resolved to Closed

Also available in: Atom PDF