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

 
 

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

bug #40679: Problems with widgets inside side tools

Submitter:  Joris van der Hoeven <vdhoeven>
Submitted:  Fri 22 Nov 2013 05:36:32 PM UTC
   
 
Category:  Qt port Priority:  5 - Normal
Item Group:  Error Status:  Fixed
Privacy:  Public Assigned to:  mdbenito
Originator Name:  Open/Closed:  Closed
Release:  None Release: 
Fixed Release:  None Fixed Release: 
Keywords: 

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

fixed in rev 8134.

Miguel de Benito <mdbenito>
Group Member
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>
Group Member
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>
Group 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.


Joris van der Hoeven <vdhoeven>
Group 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>
Group Member
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>
Group administrator

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

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

 

Depends on the following items: None found

Items that depend on this one: None found

 

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

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

     

    Follow 6 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2014-01-15 mdbenito StatusConfirmed Fixed
        Open/ClosedOpen Closed
    2013-11-25 mdbenito SummarySide tools don\'t work Problems with widgets inside side tools
    2013-11-25 vdhoeven Attached File- Added side-tools-bug.png, #29704
        StatusWorks For Me Confirmed
    2013-11-23 mdbenito StatusConfirmed Works For Me

    Back to the top

    Powered by Savane 3.13-d3ae.
    Corresponding source code