bugGNU TeXmacs - Bugs: bug #40679, Problems with widgets inside side...

 
 

You are not allowed to post comments on this tracker with your current authentification level.

bug #40679: Problems with widgets inside side tools

Submitted by:  Joris van der Hoeven <vdhoeven>
Submitted on:  Fri 22 Nov 2013 05:36:32 PM UTC  
 
Category: Qt portPriority: 5 - Normal
Item Group: ErrorStatus: Fixed
Privacy: PublicAssigned to: Miguel de Benito <mdbenito>
Originator Name: Open/Closed: Closed
Release: Release: None
Fixed Release: NoneFixed Release: 
Keywords: 

Wed 15 Jan 2014 12:33:32 AM UTC, comment #5:

fixed in rev 8134.

Miguel de Benito <mdbenito>
Project MemberIn charge of this item.
Mon 25 Nov 2013 06:46:02 PM UTC, comment #4:

Only one toolbar may be "unified" under MacOS.

I will work on the other issues.

Miguel de Benito <mdbenito>
Project MemberIn charge of this item.
Mon 25 Nov 2013 05:45:34 PM UTC, comment #3:

In fact, I forgot to activate the side tools in widget.cpp. They indeed work, ..., but are quite ugly. Trying to fix the look exposed several undesirable properties of the widget factory:

- The widget (glue #f #f 100 0) should allow me to implement a minimal horizontal width for the side tools. However, this does not seem to work. I used a hacky text button with a bunch of spaces instead...

- Widgets in the side tools list are centered by default; OK, one just has to make a design choice here, but left aligment is probably more convenient.

- The textual buttons are extremely large. Undecorated buttons should be barely larger than the text itself (approximately 1 pixel for the padding and 1 pixel for the invisible border).

Joris van der Hoeven <vdhoeven>
Project Administrator
Mon 25 Nov 2013 01:54:16 PM UTC, comment #2:

Please find the screenshot attached.

As to the placement: maybe the second and third toolbar should be made part of the unified toolbar in the MacOS version.

(file #29704)

Joris van der Hoeven <vdhoeven>
Project Administrator
Sat 23 Nov 2013 09:22:23 PM UTC, comment #1:

I cannot reproduce this. If I set use_side_tools = true, then activate them in the view menu, I see the default test buttons in the side tools.

There are however a couple problems to solve, like "postEvent: unexpected null receiver" messages.

As to the placement: Side tools are a QDockWidget, and these have preassigned areas in a window. As a matter of fact, the docks should appear below all toolbars, but Qt's poor support of unified toolbars in MacOS breaks this. If one deactivates the unified toolbar, then the side widget is properly placed. This is the case under Windows and Linux.

Miguel de Benito <mdbenito>
Project MemberIn charge of this item.
Fri 22 Nov 2013 05:36:32 PM UTC, original submission:

Currently, the side tools don't work: the content of the side tools window remains empty, even though I put some test stuff inside (which works in the X11 version). Also, the side tools should be below all the toolbars.

Joris van der Hoeven <vdhoeven>
Project Administrator

 

Attached Files
file #29704:  side-tools-bug.png added by vdhoeven (57kB - image/png)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by mdbenito (Posted a comment)
  • -unavailable- added by vdhoeven (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 6 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Wed 15 Jan 2014 12:33:32 AM UTCmdbenitoStatusConfirmed=>Fixed
      Open/ClosedOpen=>Closed
    Mon 25 Nov 2013 06:46:02 PM UTCmdbenitoSummarySide tools don\'t work=>Problems with widgets inside side tools
    Mon 25 Nov 2013 01:54:16 PM UTCvdhoevenAttached File-=>Added side-tools-bug.png, #29704
      StatusWorks For Me=>Confirmed
    Sat 23 Nov 2013 09:22:23 PM UTCmdbenitoStatusConfirmed=>Works For Me

    Back to the top


    Powered by Savane 3.1-cleanup