'Choose Latex Source' dialog is not displayed properly (Bug #300)


Added by Anirvan Sarkar almost 10 years ago. Updated about 7 years ago.


Status:Closed Start date:08/20/2014
Priority:Normal Due date:
Assignee:Anirvan Sarkar % Done:

100%

Category:Graphical Interface
Target version:-

Description

Before hg:891ab1b:

After hg:891ab1b:

There is some extra black region at the bottom of the dialog.


Choose_Latex_Source_Before__891ab1b.png (42.9 kB) Anirvan Sarkar, 08/20/2014 08:05 pm

Choose_Latex_Source_After__891ab1b.png (43.5 kB) Anirvan Sarkar, 08/20/2014 08:05 pm

Latex_Choice_Dialog_Valign_Removed.png (53.3 kB) Anirvan Sarkar, 08/25/2014 07:20 pm

AMC-gui-source_latex_dialog.glade (10.4 kB) Anirvan Sarkar, 08/25/2014 07:20 pm

New_Choose_Latex_Source_Dialog.png (41.8 kB) Anirvan Sarkar, 08/25/2014 07:20 pm


Issue hierarchy

Feature #295: Port AMC from Gtk2 to Gtk3Closed

Bug #300: 'Choose Latex Source' dialog is not displayed properlyClosedAnirvan Sarkar


History

Updated by Anirvan Sarkar almost 10 years ago

  • Description changed from Before commit:891ab1b: !Choose_Latex_Source_Before_ 891ab1b.png! After c... to Before commit:891ab1b: !Choose_Latex_Source_Before__891ab1b.png! After c... More

Updated by Alexis Bienvenüe almost 10 years ago

This black region does not show on my system (gnome3). Can you try playing with the few options of the window or widgets with

glade AMC-gui-source_latex_dialog.glade
to find how to remove this black area?

Updated by Anirvan Sarkar almost 10 years ago

After some tinkering I found that changing the vertical alignment of GtkDialog from Start to Fill seems to resolve the black region.

But there is still a lot of empty space below the buttons, which Gtk automatically assigns (and can't be removed), as we have enabled line wrap on the labels. So I am thinking of creating a fixed sized dialog to prevent layout issues.

I am attaching a modified version of AMC-gui-source_latex_dialog.glade which creates a fixed size dialog.

In this I have removed the GtkGrid and used its parent GtkBox as the layout container itself. Also previously clicking on the description labels did not change the state of radio buttons. I have now used a custom content for the radio buttons so that clicking on labels changes the its state.

So here is how the new 'Choose Latex Source' dialog looks like:

Can you check if it works for you on your system?

Updated by Alexis Bienvenüe almost 10 years ago

Can you check if it works for you on your system?

This is perfect for me too.

Updated by Anirvan Sarkar almost 10 years ago

Updated in hg:fb0ae0d.

Also there was a typo in the dialog. I had written 'containing the' two times in the description for Archive. Its fixed in this commit.

Updated by Anirvan Sarkar almost 10 years ago

  • Assignee set to Anirvan Sarkar

Updated by Alexis Bienvenüe about 7 years ago

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

Also available in: Atom PDF