Giter Club home page Giter Club logo

Comments (11)

duk3luk3 avatar duk3luk3 commented on May 12, 2024

However when I click on the Print Preview button the button doesn't stay pushed and from the Print Preview I have to click on it twice to close Print Preview; click for the first time does nothing but the button stay 'pushed' and the second click close the Print Preview and the button come to the 'unpushed' state.

This is definitely a bug.

I can't reproduce your other problem. Can you give me an explicit step-by-step to reproduce? The whole MDI architecture handles very weirdly, but I can't see what you mean exactly (I'm on Windows 7 btw)

from librecad.

csanyipal avatar csanyipal commented on May 12, 2024

I can try.

This being happen on my Debian GNU/Linux SID.

  1. Start LibreCAD.
  2. Create say several circles and save this document. This single window is in maximized state.
  3. Click on the Print Preview button. The Print Preview button doesn't remain in 'pushed' (or 'clicked') state but I get the Print Preview of circles.
  4. Click again on the Print Preview button and it remain in 'pushed' state. The Print Preview window remain, doesn't get closed.
  5. Click again on the Print Preview button and the Print Preview window get closed, and the Print Preview button come back in to the 'unpushed' state, and the 'circle' subwindow remain in the maximized state.
  6. Create a new document and draw there say rectangles. Save this document. We have now two subwindows in maximized state.
  7. Click on the Print Preview button. The Print Preview button doesn't remain in 'pushed' (or 'clicked') state but I get the Print Preview of rectangles.
  8. Click again on the Print Preview button and it remain in 'pushed' state. The Print Preview window remain, doesn't get closed.
  9. Click again on the Print Preview button and the Print Preview window get closed, and the Print Preview button come back in to the 'unpushed' state, but the 'rectangle' subwindow get in 'unmaximized' state. I expect that that this subwindow get in maximized state.

That is it.

from librecad.

bertothunder avatar bertothunder commented on May 12, 2024

I can't reproduce it neither. Using windows with version 1.0.0 the behaviour is the expected one (including the preview button keeping pushed itself). On linux the only problem I found is the print preview button not keeping pushed for the first time, as described by csanyipal.

The rest of the described scenario is not reproducible with version 1.0.

Will take a look and study the code to see if I can solve the issue with the print preview button.

from librecad.

csanyipal avatar csanyipal commented on May 12, 2024

'The rest of the described scenario is not reproducible with version 1.0.'
But is reproducible with version 2.0.0.alpha1 builded from source.

from librecad.

bertothunder avatar bertothunder commented on May 12, 2024

'But is reproducible with version 2.0.0.alpha1 builded from source.'

Sorry, but my last comment was not very exact. I've tested it on Linux from source with latest branch from github (so I think I'm checking with version 2.0.0.alpha1 too), and the only problem I can reproduce is related to the print preview button not keeping pushed the first time you click on it, needing a second one. Researching on it.

I can't reproduce the rest of the scenario, as commented :)

from librecad.

csanyipal avatar csanyipal commented on May 12, 2024

After I read your's comment I did 'git pull' and then 'qmake librecad.pro && make' and run this librecad again.
Still I can reproduce all the scenario. How can that happen on my Debian SID system here?

from librecad.

bertothunder avatar bertothunder commented on May 12, 2024

Uhmmm, Debian SID...

Could you please exec this command and paste here the output?

dpkg -la | grep libqt

from librecad.

csanyipal avatar csanyipal commented on May 12, 2024

Yes, the output is here: http://paste.debian.net/152165/
or here:
ii libqt3-mt 3:3.3.8b-11 Qt GUI Library (Threaded runtime version), Version 3
ii libqt4-core 4:4.7.4-2 transitional package for Qt 4 core non-GUI runtime libraries
ii libqt4-dbus 4:4.7.4-2 Qt 4 D-Bus module
ii libqt4-declarative 4:4.7.4-2 Qt 4 Declarative module
ii libqt4-designer 4:4.7.4-2 Qt 4 designer module
ii libqt4-dev 4:4.7.4-2 Qt 4 development files
ii libqt4-gui 4:4.7.4-2 transitional package for Qt 4 GUI runtime libraries
ii libqt4-help 4:4.7.4-2 Qt 4 help module
rc libqt4-multimedia 4:4.6.3-4+squeeze1 Qt 4 Multimedia module
ii libqt4-network 4:4.7.4-2 Qt 4 network module
ii libqt4-opengl 4:4.7.4-2 Qt 4 OpenGL module
ii libqt4-opengl-dev 4:4.7.4-2 Qt 4 OpenGL library development files
ii libqt4-qt3support 4:4.7.4-2 Qt 3 compatibility library for Qt 4
ii libqt4-script 4:4.7.4-2 Qt 4 script module
ii libqt4-scripttools 4:4.7.4-2 Qt 4 script tools module
ii libqt4-sql 4:4.7.4-2 Qt 4 SQL module
ii libqt4-sql-mysql 4:4.7.4-2 Qt 4 MySQL database driver
ii libqt4-sql-sqlite 4:4.7.4-2 Qt 4 SQLite 3 database driver
ii libqt4-svg 4:4.7.4-2 Qt 4 SVG module
ii libqt4-test 4:4.7.4-2 Qt 4 test module
ii libqt4-xml 4:4.7.4-2 Qt 4 XML module
ii libqt4-xmlpatterns 4:4.7.4-2 Qt 4 XML patterns module
ii libqtassistantclient4 4.6.3-3 Qt Assistant client library (runtime)
ii libqtcore4 4:4.7.4-2 Qt 4 core module
ii libqtcore4-perl 4.5svn1145508-2+b2 perl bindings for the Qt Core library
ii libqtgui4 4:4.7.4-2 Qt 4 GUI module
ii libqtgui4-perl 4.5
svn1145508-2+b2 perl bindings for the Qt Gui library
ii libqtlocation1 1.2.0-1 Qt Mobility Location module
ii libqtmultimediakit1 1.2.0-1 Qt Mobility MultimediaKit module
rc libqtruby4shared2 4:4.4.5-3 internal library for Qt Ruby bindings
ii libqtscript4-core 0.1.0+git20101026+8b191fbc-2 Qt Script bindings for the Qt 4 Core library
ii libqtscript4-gui 0.1.0+git20101026+8b191fbc-2 Qt Script bindings for the Qt 4 Gui library
ii libqtscript4-network 0.1.0+git20101026+8b191fbc-2 Qt Script bindings for the Qt 4 Network library
ii libqtscript4-opengl 0.1.0+git20101026+8b191fbc-2 Qt Script bindings for the Qt 4 OpenGL library
ii libqtscript4-phonon 0.1.0+git20101026+8b191fbc-2 Qt Script bindings for the Qt 4 Phonon library
ii libqtscript4-qtbindings 0.1.0+git20101026+8b191fbc-2 Qt Script bindings for Qt 4 - metapackage
ii libqtscript4-sql 0.1.0+git20101026+8b191fbc-2 Qt Script bindings for the Qt 4 SQL library
ii libqtscript4-svg 0.1.0+git20101026+8b191fbc-2 Qt Script bindings for the Qt 4 SVG library
ii libqtscript4-uitools 0.1.0+git20101026+8b191fbc-2 Qt Script bindings for the Qt 4 UiTools library
ii libqtscript4-webkit 0.1.0+git20101026+8b191fbc-2 Qt Script bindings for the Qt 4 WebKit library
ii libqtscript4-xml 0.1.0+git20101026+8b191fbc-2 Qt Script bindings for the Qt 4 XML library
ii libqtscript4-xmlpatterns 0.1.0+git20101026+8b191fbc-2 Qt Script bindings for the Qt 4 XML patterns library
ii libqtwebkit-dev 2.2.0-3 Web content engine library for Qt - development files
ii libqtwebkit4 2.2.0-3 Web content engine library for Qt

from librecad.

dxli avatar dxli commented on May 12, 2024

A quick fix in master, commit: 9eadae1..41b94cf

more work on print preview is needed

from librecad.

r-a-v-a-s avatar r-a-v-a-s commented on May 12, 2024

csanyipal, was this fixed for you?

from librecad.

r-a-v-a-s avatar r-a-v-a-s commented on May 12, 2024

I think I have fixed everything mentioned here. Let me know.

from librecad.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.