STR #3455

GitHub FLTK Project   FLTK News RSS Feed  
  FLTK Apps      FLTK Library      Forums      Links     Login 
 Home  |  Articles & FAQs  |  Bugs & Features  |  Documentation  |  Download  |  Screenshots  ]

Return to Bugs & Features | Roadmap 1.3 ]

STR #3455

Application:FLTK Library
Status:2 - Closed w/o Resolution
Priority:3 - Moderate, e.g. unable to compile the software
Scope:2 - Specific to an operating system
Summary:Windows are not positioned at 0,0 when there is no window manager.
Created By:sgreenamyer
Assigned To:AlbrechtS
Fix Version:Will Not Fix
Update Notification:

Receive EMails Don't Receive EMails

Trouble Report Files:

No files

Trouble Report Comments:

Name/Time/Date Text top right image
#1 sgreenamyer
07:18 Mar 05, 2018
Hopefully I am barking up the right tree now.
I originally submitted this issue to tigervnc and they sent me to you guys, so here is what's happening.

I am running on RHEL 7.4, FLTK 1.3.4-1 with X11 and for troubleshooting purposes mwm is not running and no other window manager present.

The issue is that my vncviewer window is sitting at x=1 and y=20. I want it at (0,0). What I think is happening is the FLTK in some way is expecting the window manager to require at least a 20 pixel top frame and a 1 pixel side frame. I have yet to look through the source code for FLTK so this is speculation.

What I do know is if I add code to vncviewer and set border(0) in the flt window object that I do get my window to the desired location of (0,0)

#2 AlbrechtS
03:42 Mar 06, 2018
It's hard to tell whether your post is a bug report or a user (FLTK usage) question. The FLTK STR system is used for bug reports (and RFE's), but user questions are addressed in our mailing list fltk.general. There you can find help and discuss your issue. See the FLTK home page for a link (in the box at the top right hand side) to the google groups mailing list. I suggest that you post your question there so you get a wider audience.!forum/fltkgeneral

That said, it may be true that FLTK makes some assumptions about the window position, but usually the WM decides where to position. Please post more information how you show() your main window in fltk.general. In general, if you don't need window decorations, border(0) would be correct and another option would be fullscreen(), but both functions may have unwanted side effects. As said above, please post in fltk.general for further discussion. Thanks.
#3 AlbrechtS
03:15 Jul 05, 2020
General support is not available via the STR form. Please post to the FLTK forums and/or mailing lists for general support.  
bottom left image   bottom right image

Return to Bugs & Features ]


Comments are owned by the poster. All other content is copyright 1998-2021 by Bill Spitzak and others. This project is hosted by The FLTK Team. Please report site problems to ''.