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 Nov 22 17:36:32 2013  
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: 

Wed Jan 15 00:33:32 2014, comment #5:

fixed in rev 8134.

Miguel de Benito <mdbenito>
Project MemberIn charge of this item.
Mon Nov 25 18:46:02 2013, 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 Nov 25 17:45:34 2013, 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 Nov 25 13:54:16 2013, 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 Nov 23 21:22:23 2013, 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 Nov 22 17:36:32 2013, 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 Jan 15 00:33:32 2014mdbenitoStatusConfirmed=>Fixed
    Mon Nov 25 18:46:02 2013mdbenitoSummarySide tools don\'t work=>Problems with widgets inside side tools
    Mon Nov 25 13:54:16 2013vdhoevenAttached File-=>Added side-tools-bug.png, #29704
      StatusWorks For Me=>Confirmed
    Sat Nov 23 21:22:23 2013mdbenitoStatusConfirmed=>Works For Me

    Back to the top

    Powered by Savane 3.1-cleanup1